Commit 2a1867a7 authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Lennert Buytenhek

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: default avatarLennert Buytenhek <buytenh@marvell.com>
parent 3a499481
...@@ -2004,8 +2004,7 @@ static int mv643xx_eth_open(struct net_device *dev) ...@@ -2004,8 +2004,7 @@ static int mv643xx_eth_open(struct net_device *dev)
rdl(mp, INT_CAUSE_EXT(mp->port_num)); rdl(mp, INT_CAUSE_EXT(mp->port_num));
err = request_irq(dev->irq, mv643xx_eth_irq, err = request_irq(dev->irq, mv643xx_eth_irq,
IRQF_SHARED | IRQF_SAMPLE_RANDOM, IRQF_SHARED, dev->name, dev);
dev->name, dev);
if (err) { if (err) {
dev_printk(KERN_ERR, &dev->dev, "can't assign irq\n"); dev_printk(KERN_ERR, &dev->dev, "can't assign irq\n");
return -EAGAIN; return -EAGAIN;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment