Browse Source

Force pci.o to be included.

Print warning message at probe time.
tags/v0.9.3
Michael Brown 18 years ago
parent
commit
02df45352c
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/drivers/net/legacy.c

+ 5
- 0
src/drivers/net/legacy.c View File

@@ -81,6 +81,9 @@ int legacy_probe ( struct pci_device *pci,
81 81
 		return rc;
82 82
 	}
83 83
 
84
+	/* Do not remove this message */
85
+	printf ( "WARNING: Using legacy NIC wrapper\n" );
86
+
84 87
 	return 0;
85 88
 }
86 89
 
@@ -106,3 +109,5 @@ int dummy_connect ( struct nic *nic __unused ) {
106 109
 void dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) {
107 110
 	return;
108 111
 }
112
+
113
+REQUIRE_OBJECT ( pci );

Loading…
Cancel
Save