patch-1.3.18 linux/drivers/net/smc-ultra.c
Next file: linux/drivers/net/tulip.c
Previous file: linux/drivers/net/slip.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Fri Aug 11 09:27:00 1995
- Orig file:
v1.3.17/linux/drivers/net/smc-ultra.c
- Orig date:
Wed Aug 9 14:55:41 1995
diff -u --recursive --new-file v1.3.17/linux/drivers/net/smc-ultra.c linux/drivers/net/smc-ultra.c
@@ -328,11 +328,13 @@
static struct device dev_ultra = {
" " /*"smc-ultra"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, ultra_probe };
-int io = 0;
+int io = 0x200;
int irq = 0;
int init_module(void)
{
+ if (io == 0)
+ printk("smc-ultra: You should not use auto-probing with insmod!\n");
dev_ultra.base_addr = io;
dev_ultra.irq = irq;
if (register_netdev(&dev_ultra) != 0) {
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this