patch-2.4.0-test8 linux/drivers/net/ac3200.c
Next file: linux/drivers/net/defxx.c
Previous file: linux/drivers/net/8139too.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Sep 5 12:56:51 2000
- Orig file:
v2.4.0-test7/linux/drivers/net/ac3200.c
- Orig date:
Fri Jun 23 21:55:09 2000
diff -u --recursive --new-file v2.4.0-test7/linux/drivers/net/ac3200.c linux/drivers/net/ac3200.c
@@ -139,6 +139,9 @@
if (dev == NULL) {
printk("ac3200.c: Passed a NULL device.\n");
dev = init_etherdev(0, 0);
+
+ if (!dev)
+ return -ENOMEM;
}
printk("AC3200 in EISA slot %d, node", ioaddr/0x1000);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)