aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ep80579-drivers/patches/.svn/text-base/701-iegbe_poll_dev.patch.svn-base
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/ep80579-drivers/patches/.svn/text-base/701-iegbe_poll_dev.patch.svn-base')
-rw-r--r--package/system/ep80579-drivers/patches/.svn/text-base/701-iegbe_poll_dev.patch.svn-base11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/system/ep80579-drivers/patches/.svn/text-base/701-iegbe_poll_dev.patch.svn-base b/package/system/ep80579-drivers/patches/.svn/text-base/701-iegbe_poll_dev.patch.svn-base
new file mode 100644
index 0000000..63a1326
--- /dev/null
+++ b/package/system/ep80579-drivers/patches/.svn/text-base/701-iegbe_poll_dev.patch.svn-base
@@ -0,0 +1,11 @@
+--- a/Embedded/src/GbE/iegbe_main.c
++++ b/Embedded/src/GbE/iegbe_main.c
+@@ -3534,7 +3534,7 @@ static int iegbe_clean(struct napi_struc
+ int tx_cleaned = 0, work_done = 0;
+
+ /* Must NOT use netdev_priv macro here. */
+- adapter = poll_dev->priv;
++ adapter = netdev_priv(poll_dev);
+
+ /* iegbe_clean is called per-cpu. This lock protects
+ * tx_ring[0] from being cleaned by multiple cpus