[lkml]   [2003]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: pci_domain_nr vs. /sys/devices
    On Wed, Jun 11, 2003 at 03:48:01PM +0100, Matthew Wilcox wrote:
    > Look in /sys/bus/pci/devices/ There you have all the PCI devices
    > lumped together in one place, and we obviously need the domain number
    > in the name. I don't know where the 0 on the end of /sys/devices/pci0/
    > comes from, but if we could, I wouldn't say no to:

    See pci_alloc_primary_bus_parented() in drivers/pci/probe.c. The '0'
    is the bus number passed in. So, the names include the pci bus numbers
    of the root buses.

    Russell King ( The developer of ARM Linux

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:36    [W:0.018 / U:1.092 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site