patch-2.1.88 linux/drivers/net/ewrk3.c
Next file: linux/drivers/net/hp-plus.c
Previous file: linux/drivers/net/es3210.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Feb 19 14:58:40 1998
- Orig file:
v2.1.87/linux/drivers/net/ewrk3.c
- Orig date:
Thu Feb 12 20:56:08 1998
diff -u --recursive --new-file v2.1.87/linux/drivers/net/ewrk3.c linux/drivers/net/ewrk3.c
@@ -1904,13 +1904,13 @@
void cleanup_module(void)
{
+ unregister_netdev(&thisEthwrk);
if (thisEthwrk.priv) {
kfree(thisEthwrk.priv);
thisEthwrk.priv = NULL;
}
thisEthwrk.irq = 0;
- unregister_netdev(&thisEthwrk);
release_region(thisEthwrk.base_addr, EWRK3_TOTAL_SIZE);
}
#endif /* MODULE */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov