patch-1.3.17 linux/drivers/net/apricot.c

Next file: linux/drivers/net/at1700.c
Previous file: linux/drivers/net/ac3200.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.16/linux/drivers/net/apricot.c linux/drivers/net/apricot.c
@@ -1020,9 +1020,14 @@
   0x300, 10,
   0, 0, 0, NULL, apricot_probe };
 
+int io = 0x300;
+int irq = 10;
+
 int
 init_module(void)
 {
+  dev_apricot.base_addr = io;
+  dev_apricot.irq       = irq;
   if (register_netdev(&dev_apricot) != 0)
     return -EIO;
   return 0;

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