patch-2.1.88 linux/drivers/net/smc-ultra.c
Next file: linux/drivers/net/wd.c
Previous file: linux/drivers/net/smc-mca.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Feb 19 14:58:40 1998
- Orig file:
v2.1.87/linux/drivers/net/smc-ultra.c
- Orig date:
Sun Jan 4 10:55:08 1998
diff -u --recursive --new-file v2.1.87/linux/drivers/net/smc-ultra.c linux/drivers/net/smc-ultra.c
@@ -475,10 +475,10 @@
if (dev->priv != NULL) {
/* NB: ultra_close_card() does free_irq */
int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET;
+ unregister_netdev(dev);
kfree(dev->priv);
dev->priv = NULL;
release_region(ioaddr, ULTRA_IO_EXTENT);
- unregister_netdev(dev);
}
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov