Commit 071e776a authored by Don Fry's avatar Don Fry Committed by Jeff Garzik

[PATCH] pcnet32 correct name display

This displays the device name (eth%d) instead of the device type
when registering the interrupt handler.
parent 68982a77
...@@ -1180,7 +1180,7 @@ pcnet32_open(struct net_device *dev) ...@@ -1180,7 +1180,7 @@ pcnet32_open(struct net_device *dev)
if (dev->irq == 0 || if (dev->irq == 0 ||
request_irq(dev->irq, &pcnet32_interrupt, request_irq(dev->irq, &pcnet32_interrupt,
lp->shared_irq ? SA_SHIRQ : 0, lp->name, (void *)dev)) { lp->shared_irq ? SA_SHIRQ : 0, dev->name, (void *)dev)) {
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