On Mon, Feb 11, 2008 at 06:35:16PM -0500, Konrad Rzeszutek wrote:The specification did not take that in to account. The Bus/Dev/Func information is only present there - no domain information.+ if (hdr->id == id_nic) {pci_get_bus_and_slot fails in the presence of PCI domains, which are
+ pci_dev = pci_get_bus_and_slot((nic->pci_bdf & 0xff00) >>
8, + (nic->pci_bdf & 0xff));
getting to be fairly common even in medium sized servers ... what
happens in that case?
That's really broken then. Common i386 boxes these days have multiple
PCI domains, it's not all that uncommon at all.
And almost all big 64 bit boxes have them.