summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc911x.c
diff options
context:
space:
mode:
authorMarkus Brunner <super.firetwister@googlemail.com>2007-08-20 08:36:50 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 01:54:06 +0200
commit726d722e41f1c329b7f04c5ee5aef02a60ac1991 (patch)
treebc8c0ff549a8e411112ef6a0af9a52a70fe54004 /drivers/net/smc911x.c
parentehea: DLPAR memory add fix (diff)
downloadlinux-726d722e41f1c329b7f04c5ee5aef02a60ac1991.tar.xz
linux-726d722e41f1c329b7f04c5ee5aef02a60ac1991.zip
smc911x irq sense request and MPR2 board support
Hi, this are the changes to the smc911x driver, which were necessary to get it running on the Magic Panel R2 (smsc9115). It is a SH3-DSP based board. The other patches are available on the linuxsh-dev mailinglist. http://marc.info/?l=linuxsh-dev&r=1&b=200708&w=2 It was necessary to set the irq sense to low level. Therefor the SMC_IRQ_SENSE define was added. How are the chances for inclusion in 2.6.24? Signed-off by: Markus Brunner <super.firetwister@gmail.com> Signed-off by: Mark Jonas <toertel@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/smc911x.c')
-rw-r--r--drivers/net/smc911x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index c0276c04dece..7c60df46fc65 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -2063,7 +2063,7 @@ static int __init smc911x_probe(struct net_device *dev, unsigned long ioaddr)
/* Grab the IRQ */
retval = request_irq(dev->irq, &smc911x_interrupt,
- IRQF_SHARED | IRQF_TRIGGER_FALLING, dev->name, dev);
+ IRQF_SHARED | SMC_IRQ_SENSE, dev->name, dev);
if (retval)
goto err_out;