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
 		return rc;
81
 		return rc;
82
 	}
82
 	}
83
 
83
 
84
+	/* Do not remove this message */
85
+	printf ( "WARNING: Using legacy NIC wrapper\n" );
86
+
84
 	return 0;
87
 	return 0;
85
 }
88
 }
86
 
89
 
106
 void dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) {
109
 void dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) {
107
 	return;
110
 	return;
108
 }
111
 }
112
+
113
+REQUIRE_OBJECT ( pci );

Loading…
Cancel
Save