Commit 307fc4d7 authored by Mihir Singh's avatar Mihir Singh Committed by David S. Miller

hp100: replace hardcoded name in /proc/interrupts with interface name

The /proc/interrupts file displays hp100, which is not the accepted style. Printing eth%d is more helpful.
Signed-off-by: default avatarMihir Singh <me@mihirsingh.com>
Reviewed-By: default avatarMatthew Whitehead <tedheadster@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0a67d3ef
...@@ -1098,7 +1098,7 @@ static int hp100_open(struct net_device *dev) ...@@ -1098,7 +1098,7 @@ static int hp100_open(struct net_device *dev)
if (request_irq(dev->irq, hp100_interrupt, if (request_irq(dev->irq, hp100_interrupt,
lp->bus == HP100_BUS_PCI || lp->bus == lp->bus == HP100_BUS_PCI || lp->bus ==
HP100_BUS_EISA ? IRQF_SHARED : 0, HP100_BUS_EISA ? IRQF_SHARED : 0,
"hp100", dev)) { dev->name, dev)) {
printk("hp100: %s: unable to get IRQ %d\n", dev->name, dev->irq); printk("hp100: %s: unable to get IRQ %d\n", dev->name, dev->irq);
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