diff options
author | Steve Glendinning <steve.glendinning@smsc.com> | 2009-01-27 01:51:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-01 03:37:20 -0500 |
commit | e81259b4f7c69a71d92216ba551731fb7027bcbe (patch) | |
tree | c8a625bc5db429eca283f3fdccead43e1c107760 /drivers/net/smsc911x.c | |
parent | 61307ed85dbf0ee232e354721a5a0a2011da7996 (diff) |
smsc911x: register isr as IRQF_SHARED
The isr supports shared operation, so register it with the IRQF_SHARED
flag to indicate this.
This patch also removes the IRQF_DISABLED flag. This driver doesn't
need it, and IRQF_DISABLED isn't guaranteed when using shared interrupts.
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smsc911x.c')
-rw-r--r-- | drivers/net/smsc911x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index d273a0720ef1..6aa2b165de6a 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c | |||
@@ -1972,7 +1972,7 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev) | |||
1972 | smsc911x_reg_write(pdata, INT_STS, 0xFFFFFFFF); | 1972 | smsc911x_reg_write(pdata, INT_STS, 0xFFFFFFFF); |
1973 | 1973 | ||
1974 | retval = request_irq(dev->irq, smsc911x_irqhandler, | 1974 | retval = request_irq(dev->irq, smsc911x_irqhandler, |
1975 | irq_flags | IRQF_DISABLED, dev->name, dev); | 1975 | irq_flags | IRQF_SHARED, dev->name, dev); |
1976 | if (retval) { | 1976 | if (retval) { |
1977 | SMSC_WARNING(PROBE, | 1977 | SMSC_WARNING(PROBE, |
1978 | "Unable to claim requested irq: %d", dev->irq); | 1978 | "Unable to claim requested irq: %d", dev->irq); |