diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-08-23 17:43:38 -0400 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-09-05 00:33:57 -0400 |
commit | 2a1867a76fc13499521af1f0dbcf08ddb3ef78ba (patch) | |
tree | f20de64f0a584d0d88d8bd41534bfe0fb75bc3ac /drivers | |
parent | 3a499481c167977368a7e7cae8ea1ff2a99518a0 (diff) |
mv643xx_eth: get rid of IRQF_SAMPLE_RANDOM
Using IRQF_SAMPLE_RANDOM for the mv643xx_eth interrupt handler
significantly increases interrupt processing overhead, so get rid
of it.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index ad2ae937443d..8c812c3d1b7d 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -2004,8 +2004,7 @@ static int mv643xx_eth_open(struct net_device *dev) | |||
2004 | rdl(mp, INT_CAUSE_EXT(mp->port_num)); | 2004 | rdl(mp, INT_CAUSE_EXT(mp->port_num)); |
2005 | 2005 | ||
2006 | err = request_irq(dev->irq, mv643xx_eth_irq, | 2006 | err = request_irq(dev->irq, mv643xx_eth_irq, |
2007 | IRQF_SHARED | IRQF_SAMPLE_RANDOM, | 2007 | IRQF_SHARED, dev->name, dev); |
2008 | dev->name, dev); | ||
2009 | if (err) { | 2008 | if (err) { |
2010 | dev_printk(KERN_ERR, &dev->dev, "can't assign irq\n"); | 2009 | dev_printk(KERN_ERR, &dev->dev, "can't assign irq\n"); |
2011 | return -EAGAIN; | 2010 | return -EAGAIN; |