In BIOS and other OS's this may be doneby examining the system's PCI
Routing Tables. I don't think I can get to those from Linux.
PCI Devices are defined by BUS, DEVICE, and FUNCTION. In Linux there
is a function ( defined in pci.h near the end of the file ) called "
PCI_SLOT( devfn ) " but from what I can see this returns what PCI calls
the device. PCI device is not the machine's slot number. This function
even uses the encoded byte which is named devfn ( I assume from PCI
device and PCI function ) , but this function treats it as slot and
function.
Any help is appreciated. Thanks in advance.
Jack L. Hammer
RAID Client/Server Development
IBM Personal Systems Group
(919)-254-8665
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/