Re: PCI device numbering ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 01, 2008 at 03:19:36PM +0530, Onkar wrote:
> /sys/bus/pci/devices# ls
> 0000:00:00.0  0000:00:01.2  0000:00:04.0  0000:00:07.0  0000:00:09.0
> 0000:00:18.0  0000:00:18.3
> 0000:00:01.0  0000:00:02.0  0000:00:05.0  0000:00:08.0  0000:00:0b.0
> 0000:00:18.1  0000:01:09.0
> 0000:00:01.1  0000:00:02.1  0000:00:06.0  0000:00:08.1  0000:00:0d.0
> 0000:00:18.2
> 
> 
> What is the criteria followed fot this numbering ???

Be careful, by default ls will sort entries alphabetically. Try "ls -1
--sort=none".

ls --sort=none will give the same output, so the kernel will just
enumerate all PCI devices starting at domain 0, bus 0, device 0,
subdevice 0 (which happens to be the most easy way to do that in C).


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux