lkml.org 
[lkml]   [2005]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: yenta_socket rapid fires interrupts


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@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: 2009-11-18 23:46    [W:0.091 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site