Messages in this thread Patch in this message | | | Subject | PATCH: make tcic work again | Date | Tue, 8 Oct 2002 20:02:08 +0100 (BST) | From | Alan Cox <> |
| |
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/drivers/pcmcia/tcic.c linux.2.5.41-ac1/drivers/pcmcia/tcic.c --- linux.2.5.41/drivers/pcmcia/tcic.c 2002-10-07 22:12:24.000000000 +0100 +++ linux.2.5.41-ac1/drivers/pcmcia/tcic.c 2002-10-07 22:53:04.000000000 +0100 @@ -516,17 +516,12 @@ static void __exit exit_tcic(void) { - u_long flags; unregister_ss_entry(&tcic_operations); - save_flags(flags); - cli(); + del_timer_sync(&poll_timer); if (cs_irq != 0) { tcic_aux_setw(TCIC_AUX_SYSCFG, TCIC_SYSCFG_AUTOBUSY|0x0a00); free_irq(cs_irq, tcic_interrupt); } - if (tcic_timer_pending) - del_timer(&poll_timer); - restore_flags(flags); release_region(tcic_base, 16); } /* exit_tcic */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |