summaryrefslogtreecommitdiff
path: root/cleopatre/linux-2.6.25.10-spc300/net/core/ethtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/linux-2.6.25.10-spc300/net/core/ethtool.c')
-rw-r--r--cleopatre/linux-2.6.25.10-spc300/net/core/ethtool.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/cleopatre/linux-2.6.25.10-spc300/net/core/ethtool.c b/cleopatre/linux-2.6.25.10-spc300/net/core/ethtool.c
index cfab496f1f..f17be8d43f 100644
--- a/cleopatre/linux-2.6.25.10-spc300/net/core/ethtool.c
+++ b/cleopatre/linux-2.6.25.10-spc300/net/core/ethtool.c
@@ -797,9 +797,21 @@ int dev_ethtool(struct net *net, struct ifreq *ifr)
return -EFAULT;
- if((ethcmd == ETHTOOL_RVLAN_TABLE)||
- (ethcmd == ETHTOOL_SVLAN_TABLE))
- return dev->do_ioctl(dev, ifr, SIOCETHTOOL);
+ if ((ethcmd == ETHTOOL_RVLAN_TABLE)
+ || (ethcmd == ETHTOOL_SVLAN_TABLE)
+ || (ethcmd == ETHTOOL_RPORT_PHY)
+ || (ethcmd == ETHTOOL_SPORT_PHY)
+ || (ethcmd == ETHTOOL_RSTM_CTL)
+ || (ethcmd == ETHTOOL_SSTM_CTL)
+ || (ethcmd == ETHTOOL_RQOSRATE)
+ || (ethcmd == ETHTOOL_SQOSRATE)
+ || (ethcmd == ETHTOOL_RMIRROR)
+ || (ethcmd == ETHTOOL_SMIRROR)
+ || (ethcmd == ETHTOOL_RFAT)
+ || (ethcmd == ETHTOOL_SFAT)
+ || (ethcmd == ETHTOOL_RIGMP)
+ || (ethcmd == ETHTOOL_SIGMP))
+ return dev->do_ioctl(dev, ifr, SIOCETHTOOL);
/* Allow some commands to be done by anyone */
switch(ethcmd) {