diff options
author | Malli Chilakala | 2005-08-11 22:59:20 +0200 |
---|---|---|
committer | Jeff Garzik | 2005-08-11 23:09:19 +0200 |
commit | db0bacaa8313e00bb571e2d1102dc9f567353a24 (patch) | |
tree | ac4e79396d6eef017e32566f5ecf2fe886ec9ff2 /drivers | |
parent | [PATCH] ixgb: Fix data output by ethtool -d (diff) | |
download | kernel-qcow2-linux-db0bacaa8313e00bb571e2d1102dc9f567353a24.tar.gz kernel-qcow2-linux-db0bacaa8313e00bb571e2d1102dc9f567353a24.tar.xz kernel-qcow2-linux-db0bacaa8313e00bb571e2d1102dc9f567353a24.zip |
[PATCH] ixgb: Ethtool cleanup patch from Stephen Hemminger
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ixgb/ixgb_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c index 44a07a9dcbc1..762e3a0e92b0 100644 --- a/drivers/net/ixgb/ixgb_ethtool.c +++ b/drivers/net/ixgb/ixgb_ethtool.c @@ -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; |