patch-pre2.0.9 linux/drivers/net/ne.c
Next file: linux/drivers/net/ppp.c
Previous file: linux/drivers/net/eexpress.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue May 28 07:39:18 1996
- Orig file:
pre2.0.8/linux/drivers/net/ne.c
- Orig date:
Tue May 7 16:22:29 1996
diff -u --recursive --new-file pre2.0.8/linux/drivers/net/ne.c linux/drivers/net/ne.c
@@ -229,6 +229,12 @@
}
}
+ /* We should have a "dev" from Space.c or the static module table. */
+ if (dev == NULL) {
+ printk(KERN_ERR "ne.c: Passed a NULL device.\n");
+ dev = init_etherdev(0, 0);
+ }
+
if (ei_debug && version_printed++ == 0)
printk(version);
@@ -344,12 +350,6 @@
return ENXIO;
#endif
- }
-
- /* We should have a "dev" from Space.c or the static module table. */
- if (dev == NULL) {
- printk("ne.c: Passed a NULL device.\n");
- dev = init_etherdev(0, 0);
}
if (pci_irq_line) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this