]> err.no Git - linux-2.6/blobdiff - net/core/ethtool.c
[PATCH] Fix compilation of via-pmu-backlight
[linux-2.6] / net / core / ethtool.c
index 120786a196d034659afd089bd1b603f49460e5da..87dc556fd9d6c694f65e33c6868aebdeef8325cc 100644 (file)
@@ -817,11 +817,8 @@ int dev_ethtool(struct ifreq *ifr)
 
        /* Allow some commands to be done by anyone */
        switch(ethcmd) {
-       case ETHTOOL_GSET:
        case ETHTOOL_GDRVINFO:
-       case ETHTOOL_GWOL:
        case ETHTOOL_GMSGLVL:
-       case ETHTOOL_GLINK:
        case ETHTOOL_GCOALESCE:
        case ETHTOOL_GRINGPARAM:
        case ETHTOOL_GPAUSEPARAM:
@@ -829,7 +826,6 @@ int dev_ethtool(struct ifreq *ifr)
        case ETHTOOL_GTXCSUM:
        case ETHTOOL_GSG:
        case ETHTOOL_GSTRINGS:
-       case ETHTOOL_GSTATS:
        case ETHTOOL_GTSO:
        case ETHTOOL_GPERMADDR:
        case ETHTOOL_GUFO: