summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlessandro Zummo <alessandro.zummo@towertech.it>2007-03-18 15:23:33 +0100
committerJeff Garzik <jeff@garzik.org>2007-03-19 11:58:01 -0400
commit282c6b9c7a344ce6436bb61a006b9c2a373b9626 (patch)
treed220cda495a713be48c274c0da40adfc8f4ccab3 /drivers
parent2ab302b3579b76b8c575f0858a8e4b82f6dfca52 (diff)
downloadlinux-3.10-282c6b9c7a344ce6436bb61a006b9c2a373b9626.tar.gz
linux-3.10-282c6b9c7a344ce6436bb61a006b9c2a373b9626.tar.bz2
linux-3.10-282c6b9c7a344ce6436bb61a006b9c2a373b9626.zip
pata_ixp4xx_cf: fix interrupt
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/pata_ixp4xx_cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c
index bbcc9e7a95a..c6f0e192755 100644
--- a/drivers/ata/pata_ixp4xx_cf.c
+++ b/drivers/ata/pata_ixp4xx_cf.c
@@ -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;