[Fwd: irq 9: nobody cared! after moving from 2.4.19 to 2.6.11.5]

Russell King rmk+pcmcia at arm.linux.org.uk
Wed Apr 13 16:20:13 EDT 2005


On Wed, Apr 13, 2005 at 10:03:17PM +0200, Daniel Ritz wrote:
> some bridges seem to generate an interrupt while disabling the ISA
> interrupts. register the interrupt handler earlier to catch that one.
> also give the device some time to clear it's status after disabling
> interrupts (not that it should matter but it's safer)

This patch may also help, though I haven't tested it on x86.  It
certainly shuts up the complaints on my ARM-based Cardbus bridge
which has no ISA.

diff -urpN orig/drivers/pcmcia/yenta_socket.c linux/drivers/pcmcia/yenta_socket.c
--- orig/drivers/pcmcia/yenta_socket.c	Fri Jan  9 22:39:36 2004
+++ linux/drivers/pcmcia/yenta_socket.c	Sat Feb 21 14:41:05 2004
@@ -764,7 +764,7 @@ static unsigned int yenta_probe_irq(stru
 	 * register to generate bogus card status events.
 	 */
 	cb_writel(socket, CB_SOCKET_EVENT, -1);
-	cb_writel(socket, CB_SOCKET_MASK, CB_CSTSMASK);
+	cb_writel(socket, CB_SOCKET_MASK, 0); //CB_CSTSMASK);
 	exca_writeb(socket, I365_CSCINT, 0);
 	val = probe_irq_on() & isa_irq_mask;
 	for (i = 1; i < 16; i++) {


-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core



More information about the linux-pcmcia mailing list