aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/linux/linux-wrt-2.4.30/203-net_core_dev_c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/obsolete/linux/linux-wrt-2.4.30/203-net_core_dev_c.patch')
-rw-r--r--recipes/obsolete/linux/linux-wrt-2.4.30/203-net_core_dev_c.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/obsolete/linux/linux-wrt-2.4.30/203-net_core_dev_c.patch b/recipes/obsolete/linux/linux-wrt-2.4.30/203-net_core_dev_c.patch
new file mode 100644
index 0000000000..8ce40f8794
--- /dev/null
+++ b/recipes/obsolete/linux/linux-wrt-2.4.30/203-net_core_dev_c.patch
@@ -0,0 +1,28 @@
+--- linux-2.4.30/net/core/dev.c 2005-04-04 05:42:20.000000000 +0400
++++ linux/net/core/dev.c 2005-05-10 14:49:27.809927172 +0400
+@@ -2216,6 +2220,9 @@
+ cmd == SIOCBONDSLAVEINFOQUERY ||
+ cmd == SIOCBONDINFOQUERY ||
+ cmd == SIOCBONDCHANGEACTIVE ||
++#ifdef CONFIG_BCM4710
++ cmd == SIOCETHTOOL ||
++#endif
+ cmd == SIOCGMIIPHY ||
+ cmd == SIOCGMIIREG ||
+ cmd == SIOCSMIIREG ||
+@@ -2312,6 +2319,7 @@
+ return ret;
+
+ case SIOCETHTOOL:
++#ifndef CONFIG_BCM4710
+ dev_load(ifr.ifr_name);
+ rtnl_lock();
+ ret = dev_ethtool(&ifr);
+@@ -2324,6 +2332,7 @@
+ ret = -EFAULT;
+ }
+ return ret;
++#endif
+
+ /*
+ * These ioctl calls: