aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd/lance.c
diff options
context:
space:
mode:
authorNate Levesque <thenaterhood@gmail.com>2013-09-21 18:49:41 +0000
committerDavid S. Miller <davem@davemloft.net>2013-09-27 17:38:32 -0400
commitf0e28d48c8641beac1239e484383c2b4764b1f02 (patch)
tree9a60e108b19a4527d50e969302b80487a68f091e /drivers/net/ethernet/amd/lance.c
parenthp100: replace hardcoded name in /proc/interrupts with interface name (diff)
downloadlinux-dev-f0e28d48c8641beac1239e484383c2b4764b1f02.tar.xz
linux-dev-f0e28d48c8641beac1239e484383c2b4764b1f02.zip
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>
Diffstat (limited to 'drivers/net/ethernet/amd/lance.c')
-rw-r--r--drivers/net/ethernet/amd/lance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/lance.c b/drivers/net/ethernet/amd/lance.c
index 5c728436b85e..256f590f6bb1 100644
--- a/drivers/net/ethernet/amd/lance.c
+++ b/drivers/net/ethernet/amd/lance.c
@@ -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;
}