]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
smsc911x: register isr as IRQF_SHARED
authorSteve Glendinning <steve.glendinning@smsc.com>
Tue, 27 Jan 2009 06:51:10 +0000 (06:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Feb 2009 08:37:20 +0000 (00:37 -0800)
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>
drivers/net/smsc911x.c

index d273a0720ef1c1744a7df7f56e61a8a4d89a3b5c..6aa2b165de6a6041e7077515dd35046be55dec1c 100644 (file)
@@ -1972,7 +1972,7 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
        smsc911x_reg_write(pdata, INT_STS, 0xFFFFFFFF);
 
        retval = request_irq(dev->irq, smsc911x_irqhandler,
-                            irq_flags | IRQF_DISABLED, dev->name, dev);
+                            irq_flags | IRQF_SHARED, dev->name, dev);
        if (retval) {
                SMSC_WARNING(PROBE,
                        "Unable to claim requested irq: %d", dev->irq);