patch-2.3.28 linux/drivers/net/wan/cycx_main.c
Next file: linux/drivers/nubus/proc.c
Previous file: linux/drivers/net/wan/cycx_drv.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Nov 11 20:10:36 1999
- Orig file:
v2.3.27/linux/drivers/net/wan/cycx_main.c
- Orig date:
Mon Nov 1 13:56:26 1999
diff -u --recursive --new-file v2.3.27/linux/drivers/net/wan/cycx_main.c linux/drivers/net/wan/cycx_main.c
@@ -13,6 +13,8 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
* ============================================================================
+* 1999/11/06 acme cycx_down back to life (it needs to be
+* called to iounmap the dpmbase)
* 1999/08/09 acme removed references to enable_tx_int
* use spinlocks instead of cli/sti in
* cyclomx_set_state
@@ -248,6 +250,7 @@
}
if (err) {
+ cycx_down(&card->hw);
free_irq(irq, card);
return err;
}
@@ -274,7 +277,8 @@
card = wandev->private;
wandev->state = WAN_UNCONFIGURED;
- printk(KERN_INFO "%s: irq %d being freed!\n", wandev->name,wandev->irq);
+ cycx_down(&card->hw);
+ printk(KERN_INFO "%s: irq %d being freed!\n", wandev->name, wandev->irq);
free_irq(wandev->irq, card);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)