bug-grub
[Top][All Lists]
Advanced

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

Bug in PCI scan?


From: gp
Subject: Bug in PCI scan?
Date: Tue, 11 Jun 2002 09:49:56 -0700
User-agent: KMail/1.4.1

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]