lkml.org 
[lkml]   [2002]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectPATCH: make tcic work again
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.048 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site