mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-12 21:57:08 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@819 3c298f89-4303-0410-b956-a3cf2f4a3e73
29 lines
683 B
Diff
29 lines
683 B
Diff
--- 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:
|