http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
754cfdf
)
Force pci.o to be included.
author
Michael Brown
<mcb30@etherboot.org>
Mon, 5 Jun 2006 16:17:52 +0000
(16:17 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Mon, 5 Jun 2006 16:17:52 +0000
(16:17 +0000)
Print warning message at probe time.
src/drivers/net/legacy.c
patch
|
blob
|
history
diff --git
a/src/drivers/net/legacy.c
b/src/drivers/net/legacy.c
index
6e9c8ae
..
96b3bcb
100644
(file)
--- a/
src/drivers/net/legacy.c
+++ b/
src/drivers/net/legacy.c
@@
-81,6
+81,9
@@
int legacy_probe ( struct pci_device *pci,
return rc;
}
+ /* Do not remove this message */
+ printf ( "WARNING: Using legacy NIC wrapper\n" );
+
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 ) {
return;
}
+
+REQUIRE_OBJECT ( pci );