mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 06:22:59 +03:00
[undi] Ensure that native drivers are tried before the UNDI PCI driver
Suggested-by: Alessandro Salvatori <sandr8@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -343,6 +343,9 @@ struct pci_driver {
|
||||
/** Declare a PCI driver */
|
||||
#define __pci_driver __table_entry ( PCI_DRIVERS, 01 )
|
||||
|
||||
/** Declare a fallback PCI driver */
|
||||
#define __pci_driver_fallback __table_entry ( PCI_DRIVERS, 02 )
|
||||
|
||||
#define PCI_BUS( busdevfn ) ( ( (busdevfn) >> 8 ) & 0xff )
|
||||
#define PCI_SLOT( busdevfn ) ( ( (busdevfn) >> 3 ) & 0x1f )
|
||||
#define PCI_FUNC( busdevfn ) ( ( (busdevfn) >> 0 ) & 0x07 )
|
||||
|
||||
Reference in New Issue
Block a user