patch-2.1.88 linux/drivers/net/wd.c
Next file: linux/drivers/net/x25_asy.c
Previous file: linux/drivers/net/smc-ultra.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Thu Feb 19 14:58:40 1998
- Orig file:
v2.1.87/linux/drivers/net/wd.c
- Orig date:
Sun Jan 4 10:55:09 1998
diff -u --recursive --new-file v2.1.87/linux/drivers/net/wd.c linux/drivers/net/wd.c
@@ -497,11 +497,11 @@
struct device *dev = &dev_wd[this_dev];
if (dev->priv != NULL) {
int ioaddr = dev->base_addr - WD_NIC_OFFSET;
+ unregister_netdev(dev);
kfree(dev->priv);
dev->priv = NULL;
free_irq(dev->irq, dev);
release_region(ioaddr, WD_IO_EXTENT);
- unregister_netdev(dev);
}
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov