Re: yenta_socket rapid fires interrupts

From: Linus Torvalds
Date: Tue Jan 11 2005 - 19:17:17 EST




On Tue, 11 Jan 2005, DHollenbeck wrote:
>
> And the dmesg output. Please look at intctl. Is this our unsatisfied
> noise maker?

Hmm. It has I365_PC_RESET set, which does indeed not look right. Could you
try just forcing it to zero in the initialization path? In fact, that's
there in the 16-bit card case, but not in the CBCARD case. Something like
this:

--- 1.65/drivers/pcmcia/yenta_socket.c 2004-12-01 00:14:04 -08:00
+++ edited/drivers/pcmcia/yenta_socket.c 2005-01-11 16:02:45 -08:00
@@ -260,7 +260,7 @@

/* ISA interrupt control? */
intr = exca_readb(socket, I365_INTCTL);
- intr = (intr & ~0xf);
+ intr &= I365_RING_ENA | I365_INTR_ENA;
if (!socket->cb_irq) {
intr |= state->io_irq;
bridge |= CB_BRIDGE_INTR;

should hopefully take care of it.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/