In the function scan_bus, there is this if block:
/* Take the first one or the one that matches in boot ROM address */
if (pci_ioaddr == 0 || romaddr == ((unsigned long) rom.rom_segment << 4)) {
pcidev[i].membase = membase;
pcidev[i].ioaddr = ioaddr;
return; <-- error?
}
If I have multiple NICs from the same vendor and only one has PXE support on
it, this scan will only detect the very first one and skip the rest. This may
not be the NIC that started the boot. If I remove the return, the scan goes
thru all of them and the correct one is chosen later on.
What is the purpose of pci_ioaddr? It is never set by the code.
_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub