patch-2.1.88 linux/drivers/net/ac3200.c
Next file: linux/drivers/net/am79c961a.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Feb 19 14:58:40 1998
- Orig file:
v2.1.87/linux/drivers/net/ac3200.c
- Orig date:
Mon Nov 3 09:29:30 1997
diff -u --recursive --new-file v2.1.87/linux/drivers/net/ac3200.c linux/drivers/net/ac3200.c
@@ -366,12 +366,12 @@
for (this_dev = 0; this_dev < MAX_AC32_CARDS; this_dev++) {
struct device *dev = &dev_ac32[this_dev];
if (dev->priv != NULL) {
+ unregister_netdev(dev);
kfree(dev->priv);
dev->priv = NULL;
/* Someday free_irq may be in ac_close_card() */
free_irq(dev->irq, dev);
release_region(dev->base_addr, AC_IO_EXTENT);
- unregister_netdev(dev);
}
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov