diff options
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r-- | drivers/net/s2io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index 5443985c019e..89cfee7e8643 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -5414,10 +5414,10 @@ static int s2io_ethtool_gset(struct net_device *dev, struct ethtool_cmd *info) | |||
5414 | info->transceiver = XCVR_EXTERNAL; | 5414 | info->transceiver = XCVR_EXTERNAL; |
5415 | 5415 | ||
5416 | if (netif_carrier_ok(sp->dev)) { | 5416 | if (netif_carrier_ok(sp->dev)) { |
5417 | info->speed = 10000; | 5417 | ethtool_cmd_speed_set(info, SPEED_10000); |
5418 | info->duplex = DUPLEX_FULL; | 5418 | info->duplex = DUPLEX_FULL; |
5419 | } else { | 5419 | } else { |
5420 | info->speed = -1; | 5420 | ethtool_cmd_speed_set(info, -1); |
5421 | info->duplex = -1; | 5421 | info->duplex = -1; |
5422 | } | 5422 | } |
5423 | 5423 | ||