mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 00:12:19 +03:00
Force pci.o to be included.
Print warning message at probe time.
This commit is contained in:
@@ -81,6 +81,9 @@ int legacy_probe ( struct pci_device *pci,
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Do not remove this message */
|
||||||
|
printf ( "WARNING: Using legacy NIC wrapper\n" );
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -106,3 +109,5 @@ int dummy_connect ( struct nic *nic __unused ) {
|
|||||||
void dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) {
|
void dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
REQUIRE_OBJECT ( pci );
|
||||||
|
|||||||
Reference in New Issue
Block a user