mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 00:12:19 +03:00
Updated ISAPnP, EISA, MCA and ISA buses to current device model.
ISA 3c509 is currently non-functional, although the EISA (3c509-eisa) and MCA (3c529) variants should build OK. None of this code is yet tested.
This commit is contained in:
@@ -331,7 +331,7 @@ struct net_device * find_pci_netdev ( unsigned int busdevfn ) {
|
||||
|
||||
list_for_each_entry ( netdev, &net_devices, list ) {
|
||||
if ( ( netdev->dev->desc.bus_type == BUS_TYPE_PCI ) &&
|
||||
( netdev->dev->desc.pci.busdevfn == busdevfn ) )
|
||||
( netdev->dev->desc.location == busdevfn ) )
|
||||
return netdev;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user