Fixed request_irq() bug for non EtherCAT-devices in r8169 for kernel 3.4.
This commit is contained in:
parent
02f2461fda
commit
ffa0c395a8
|
|
@ -5782,7 +5782,7 @@ static int rtl_open(struct net_device *dev)
|
|||
rtl_request_firmware(tp);
|
||||
|
||||
if (!tp->ecdev) {
|
||||
retval = request_irq(dev->irq, rtl8169_interrupt,
|
||||
retval = request_irq(pdev->irq, rtl8169_interrupt,
|
||||
(tp->features & RTL_FEATURE_MSI) ? 0 : IRQF_SHARED,
|
||||
dev->name, dev);
|
||||
if (retval < 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue