patch-2.4.4 linux/drivers/pcmcia/yenta.c
Next file: linux/drivers/pnp/isapnp.c
Previous file: linux/drivers/pcmcia/pci_socket.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Apr 6 10:51:19 2001
- Orig file:
v2.4.3/linux/drivers/pcmcia/yenta.c
- Orig date:
Thu Nov 16 18:25:16 2000
diff -u --recursive --new-file v2.4.3/linux/drivers/pcmcia/yenta.c linux/drivers/pcmcia/yenta.c
@@ -755,6 +755,9 @@
*/
static void yenta_close(pci_socket_t *sock)
{
+ /* Disable all events so we don't die in an IRQ storm */
+ cb_writel(sock, CB_SOCKET_MASK, 0x0);
+
if (sock->cb_irq)
free_irq(sock->cb_irq, sock);
else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)