patch-2.4.9 linux/drivers/net/depca.c
Next file: linux/drivers/net/dgrs.c
Previous file: linux/drivers/net/de600.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Aug 12 12:33:23 2001
- Orig file:
v2.4.8/linux/drivers/net/depca.c
- Orig date:
Tue Jul 3 17:08:20 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/net/depca.c linux/drivers/net/depca.c
@@ -2060,6 +2060,8 @@
cleanup_module(void)
{
struct depca_private *lp = thisDepca.priv;
+
+ unregister_netdev(&thisDepca);
if (lp) {
iounmap(lp->sh_mem);
#ifdef CONFIG_MCA
@@ -2071,7 +2073,6 @@
}
thisDepca.irq=0;
- unregister_netdev(&thisDepca);
release_region(thisDepca.base_addr, DEPCA_TOTAL_SIZE);
}
#endif /* MODULE */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)