mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
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: Nate Levesque <thenaterhood@gmail.com> Reviewed-by: Matthew Whitehead <tedheadster@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
307fc4d727
commit
f0e28d48c8
@ -754,7 +754,7 @@ lance_open(struct net_device *dev)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (dev->irq == 0 ||
|
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;
|
return -EAGAIN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user