patch-1.3.74 linux/drivers/net/eexpress.c
Next file: linux/drivers/net/fmv18x.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Mar 14 09:50:46 1996
- Orig file:
v1.3.73/linux/drivers/net/eexpress.c
- Orig date:
Wed Mar 13 10:09:17 1996
diff -u --recursive --new-file v1.3.73/linux/drivers/net/eexpress.c linux/drivers/net/eexpress.c
@@ -1224,8 +1224,8 @@
0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, express_probe
};
-int irq[MAX_EEXP_CARDS] = {0, };
-int io[MAX_EEXP_CARDS] = {0, };
+int irq[EEXP_MAX_CARDS] = {0, };
+int io[EEXP_MAX_CARDS] = {0, };
/* Ideally the user would give us io=, irq= for every card. If any parameters
* are specified, we verify and then use them. If no parameters are given, we
@@ -1261,7 +1261,7 @@
for (this_dev = 0; this_dev < EEXP_MAX_CARDS; this_dev++) {
struct device *dev = &dev_eexp[this_dev];
if (dev->priv != NULL) {
- kfree_s(dev->priv. sizeof(struct net_local));
+ kfree(dev->priv);
dev->priv = NULL;
release_region(dev->base_addr, EEXP_IO_EXTENT);
unregister_netdev(dev);
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