PCMCIA interrupts

Matan Ziv-Av matan@svgalib.org
Fri Jul 16 18:38:07 CEST 2004


The attached patch (relative to current CVS) should fix interrupt 
problems in PCMCIA.

-- 
Matan Ziv-Av.                         matan@svgalib.org
-------------- next part --------------
--- kernel26/drivers/pcmcia/sa1101_generic.c	2004-07-12 11:59:25.000000000 +0300
+++ my2/drivers/pcmcia/sa1101_generic.c	2004-07-16 19:24:59.000000000 +0300
@@ -59,8 +59,8 @@
 	int ret;
 	printk("sa1101_pcmcia_hw_init... "); // DEBUG
 	if (skt->irq == NO_IRQ)
-		skt->irq = skt->nr ? IRQ_SA1101_S0_READY_NIREQ :
-			IRQ_SA1101_S1_READY_NIREQ;
+		skt->irq = skt->nr ? IRQ_SA1101_S1_READY_NIREQ :
+			IRQ_SA1101_S0_READY_NIREQ;
 //	request_irq(skt->irq, debug_irq_handler, SA_INTERRUPT, "SA1101 NIREQ", NULL);
 //	set_irq_type(skt->irq, IRQT_BOTHEDGE);
 	ret = soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs));


More information about the Jornada820 mailing list