[PATCH 2/5] smsc911x: register isr as IRQF_SHARED

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steve Glendinning
Date: Thursday, January 15, 2009 - 2:07 am

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>
---
 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 3565df1..f882fd5 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -1978,7 +1978,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);
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH REPOST 0/5] convert arm platforms to smsc911x, Steve Glendinning, (Thu Jan 15, 2:07 am)
[PATCH 1/5] smsc911x: add support for platform-specific ir ..., Steve Glendinning, (Thu Jan 15, 2:07 am)
[PATCH 2/5] smsc911x: register isr as IRQF_SHARED, Steve Glendinning, (Thu Jan 15, 2:07 am)
[PATCH 3/5] arm: convert pcm037 platform to use smsc911x, Steve Glendinning, (Thu Jan 15, 2:08 am)
[PATCH 4/5] arm: convert realview platform to use smsc911x, Steve Glendinning, (Thu Jan 15, 2:08 am)
[PATCH 5/5] arm: convert omap ldp platform to use smsc911x, Steve Glendinning, (Thu Jan 15, 2:08 am)
Re: [PATCH REPOST 0/5] convert arm platforms to smsc911x, David Miller, (Sun Jan 18, 10:53 pm)
Re: [PATCH REPOST 0/5] convert arm platforms to smsc911x, Russell King - ARM Linux, (Mon Jan 19, 2:22 am)
Re: [PATCH REPOST 0/5] convert arm platforms to smsc911x, Steve.Glendinning, (Mon Jan 19, 2:53 am)
Re: [PATCH REPOST 0/5] convert arm platforms to smsc911x, Russell King - ARM Linux, (Mon Jan 19, 2:31 pm)
Re: [PATCH 5/5] arm: convert omap ldp platform to use smsc911x, Russell King - ARM Linux, (Mon Jan 19, 3:35 pm)