# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1385739740 -3600
# Node ID a0e787e196cdd5addc1536da1aa89267c7ab228b
# Parent  a1c25aee3112b23468bc25349a8a17ddd07eb9df
Fixed request_irq() bug for non EtherCAT-devices in r8169 for kernel 3.4.

diff -r a1c25aee3112 -r a0e787e196cd devices/r8169-3.4-ethercat.c
--- a/devices/r8169-3.4-ethercat.c	Tue Nov 26 08:38:44 2013 +0100
+++ b/devices/r8169-3.4-ethercat.c	Fri Nov 29 16:42:20 2013 +0100
@@ -5782,7 +5782,7 @@
 	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)