mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
ISA bus driver updated to report devices as present only if a driver
thinks they are. Other bus drivers modified for consistency.
This commit is contained in:
@@ -307,7 +307,8 @@ struct pci_driver {
|
||||
* Define a PCI driver.
|
||||
*
|
||||
*/
|
||||
#define PCI_DRIVER( _ids, _class ) { \
|
||||
#define PCI_DRIVER( _name, _ids, _class ) \
|
||||
static struct pci_driver _name = { \
|
||||
.ids = _ids, \
|
||||
.id_count = sizeof ( _ids ) / sizeof ( _ids[0] ), \
|
||||
.class = _class, \
|
||||
|
||||
Reference in New Issue
Block a user