diff options
author | Steve Glendinning <steve.glendinning@smsc.com> | 2009-01-11 03:14:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-11 03:14:52 -0500 |
commit | 08168f7164fed494852361ab900358cd7a6b95d6 (patch) | |
tree | ff45323f114d7ffb70b856aca1b6d18324fc9cb0 | |
parent | 702403af28ef647b090b49bb61abebb45150ce7f (diff) |
smsc911x: register irq with device name, not driver name
This change lets "cat /proc/interrupts" show the name of the ethernet
device (e.g. eth0) rather than the driver name (smsc911x).
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/smsc911x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index fd3d2a7a1a24..f513bdf1c887 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c | |||
@@ -1969,7 +1969,7 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev) | |||
1969 | smsc911x_reg_write(pdata, INT_STS, 0xFFFFFFFF); | 1969 | smsc911x_reg_write(pdata, INT_STS, 0xFFFFFFFF); |
1970 | 1970 | ||
1971 | retval = request_irq(dev->irq, smsc911x_irqhandler, IRQF_DISABLED, | 1971 | retval = request_irq(dev->irq, smsc911x_irqhandler, IRQF_DISABLED, |
1972 | SMSC_CHIPNAME, dev); | 1972 | dev->name, dev); |
1973 | if (retval) { | 1973 | if (retval) { |
1974 | SMSC_WARNING(PROBE, | 1974 | SMSC_WARNING(PROBE, |
1975 | "Unable to claim requested irq: %d", dev->irq); | 1975 | "Unable to claim requested irq: %d", dev->irq); |