pata_ixp4xx_cf: fix interrupt
authorAlessandro Zummo <alessandro.zummo@towertech.it>
Sun, 18 Mar 2007 14:23:33 +0000 (15:23 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 19 Mar 2007 15:58:01 +0000 (11:58 -0400)
 As per compact flash specifications, the default
 irq mode upon cf insertion is pulse mode. this patch fixes
 the driver to cope with that.

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_ixp4xx_cf.c

index bbcc9e7a95a042477c79b1f823f301cf65c70bdb..c6f0e192755156523ccb3cb93cf84e656c2833fe 100644 (file)
@@ -193,7 +193,7 @@ static __devinit int ixp4xx_pata_probe(struct platform_device *pdev)
 
        irq = platform_get_irq(pdev, 0);
        if (irq)
-               set_irq_type(irq, IRQT_HIGH);
+               set_irq_type(irq, IRQT_RISING);
 
        /* Setup expansion bus chip selects */
        *data->cs0_cfg = data->cs0_bits;