diff options
author | Michael Brown <mcb30@ipxe.org> | 2011-11-11 21:30:50 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2011-11-11 21:32:09 +0000 |
commit | a05b89ef454d3eba2de00f75dd7a78c68b3cfdf5 (patch) | |
tree | 70bbb9e0a06a92c16f515cd20b110621b69d6e7b /src/include/ipxe/pci.h | |
parent | be90241ec292ba561562827b2685d2881bc92b5e (diff) | |
download | ipxe-a05b89ef454d3eba2de00f75dd7a78c68b3cfdf5.tar.gz |
[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>
Diffstat (limited to 'src/include/ipxe/pci.h')
-rw-r--r-- | src/include/ipxe/pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/pci.h b/src/include/ipxe/pci.h index 960454d69..520c8a027 100644 --- a/src/include/ipxe/pci.h +++ b/src/include/ipxe/pci.h @@ -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 ) |