Old question Surely..

Larry Finger Larry.Finger at lwfinger.net
Mon Apr 20 12:03:54 EDT 2009


Jack Schneider wrote:
> Hi, folks  Using Debian Lenny OS with 2.6.28.2-486 kernel.
> I have a very old DEC VP575 laptop which I want to use as back-up
> server.  I need two net connections.  When I use a single pccard,
> wired, all is well.  If I insert my second card, WIFI-Intersil Prism2.5 
> I get the following /var/log/messages error:
> pcmcia: request for exclusive IRQ couuld not be fulfilled.
> pcmcia: the driver needs updating to supported shared IRQ lines
> 
> Can someone point me to a link which addresses this and fixes it?
> Or is more info needed?

The change may be simple. The patch that fixed the aha152x driver is as follows:

diff --git a/drivers/scsi/pcmcia/aha152x_stub.c b/drivers/scsi/pcmcia/aha152x_stub.c
index 165ff88..67cde01 100644
--- a/drivers/scsi/pcmcia/aha152x_stub.c
+++ b/drivers/scsi/pcmcia/aha152x_stub.c
@@ -114,7 +114,7 @@ static int aha152x_probe(struct pcmcia_device *link)
     link->io.NumPorts1 = 0x20;
     link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO;
     link->io.IOAddrLines = 10;
-    link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;
+    link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING;
     link->irq.IRQInfo1 = IRQ_LEVEL_ID;
     link->conf.Attributes = CONF_ENABLE_IRQ;
     link->conf.IntType = INT_MEMORY_AND_IO;

What driver does that card use? I did a quick check of the kernel source, but
failed to find it. If the driver does not check that the interrupt was for
another driver on the shared line, then there will be an additional change.

Larry



More information about the linux-pcmcia mailing list