diff options
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/intel/igb/igb_ethtool.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c b/drivers/net/ethernet/intel/igb/igb_ethtool.c index e9335efac386..f1206be4e71d 100644 --- a/drivers/net/ethernet/intel/igb/igb_ethtool.c +++ b/drivers/net/ethernet/intel/igb/igb_ethtool.c | |||
@@ -148,7 +148,8 @@ static int igb_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) | |||
148 | SUPPORTED_1000baseT_Full| | 148 | SUPPORTED_1000baseT_Full| |
149 | SUPPORTED_Autoneg | | 149 | SUPPORTED_Autoneg | |
150 | SUPPORTED_TP); | 150 | SUPPORTED_TP); |
151 | ecmd->advertising = ADVERTISED_TP; | 151 | ecmd->advertising = (ADVERTISED_TP | |
152 | ADVERTISED_Pause); | ||
152 | 153 | ||
153 | if (hw->mac.autoneg == 1) { | 154 | if (hw->mac.autoneg == 1) { |
154 | ecmd->advertising |= ADVERTISED_Autoneg; | 155 | ecmd->advertising |= ADVERTISED_Autoneg; |
@@ -165,7 +166,8 @@ static int igb_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) | |||
165 | 166 | ||
166 | ecmd->advertising = (ADVERTISED_1000baseT_Full | | 167 | ecmd->advertising = (ADVERTISED_1000baseT_Full | |
167 | ADVERTISED_FIBRE | | 168 | ADVERTISED_FIBRE | |
168 | ADVERTISED_Autoneg); | 169 | ADVERTISED_Autoneg | |
170 | ADVERTISED_Pause); | ||
169 | 171 | ||
170 | ecmd->port = PORT_FIBRE; | 172 | ecmd->port = PORT_FIBRE; |
171 | } | 173 | } |