mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-18 09:07:24 +08:00
Fixed request_irq() bug for non EtherCAT-devices in r8169 for kernel 3.4.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user