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

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

diff -u --recursive --new-file v1.3.16/linux/drivers/net/eepro.c linux/drivers/net/eepro.c
@@ -1137,9 +1137,15 @@
 static struct device dev_eepro = {
 	"        " /*"eepro"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, eepro_probe };
 
+int io = 0;
+int irq = 0;
+
 int
 init_module(void)
 {
+	dev_eepro.base_addr = io;
+	dev_eepro.irq       = irq;
+
 	if (register_netdev(&dev_eepro) != 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