blob: 8ce40f87947128fee973fb89aeb9d8a1e4535f12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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:
|