Skip to content
Snippets Groups Projects
Commit f0e28d48 authored by Nate Levesque's avatar Nate Levesque Committed by David S. Miller
Browse files

lance: Fix hardcoded interrupt name lp->name to use system device value


The lance interrupt handler was using the hard-coded name which would make it difficult to tell where the interrupt came from. Changed to use the device name that made the interrupt.

Signed-off-by: default avatarNate Levesque <thenaterhood@gmail.com>
Reviewed-by: default avatarMatthew Whitehead <tedheadster@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 307fc4d7
No related branches found
No related tags found
No related merge requests found
......@@ -754,7 +754,7 @@ lance_open(struct net_device *dev)
int i;
if (dev->irq == 0 ||
request_irq(dev->irq, lance_interrupt, 0, lp->name, dev)) {
request_irq(dev->irq, lance_interrupt, 0, dev->name, dev)) {
return -EAGAIN;
}
......
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