[PATCH] ixgb: Ethtool cleanup patch from Stephen Hemminger
authorMalli Chilakala <mallikarjuna.chilakala@intel.com>
Thu, 11 Aug 2005 20:59:20 +0000 (13:59 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 11 Aug 2005 21:09:19 +0000 (17:09 -0400)
Ethtool cleanup patch from Stephen Hemminger
   * use ADVERTISED_xxx fields when setting advertised fields

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/ixgb/ixgb_ethtool.c

index 44a07a9dcbc1853d6cf8392477df667885fdcccd..762e3a0e92b028af8fefbe65f2d7776793be23ad 100644 (file)
@@ -101,7 +101,7 @@ ixgb_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd)
        struct ixgb_adapter *adapter = netdev_priv(netdev);
 
        ecmd->supported = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE);
-       ecmd->advertising = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE);
+       ecmd->advertising = (ADVERTISED_10000baseT_Full | ADVERTISED_FIBRE);
        ecmd->port = PORT_FIBRE;
        ecmd->transceiver = XCVR_EXTERNAL;