aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip/de2104x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tulip/de2104x.c')
-rw-r--r--drivers/net/tulip/de2104x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c
index f8d26bf9b2c4..ab78e1d58cb6 100644
--- a/drivers/net/tulip/de2104x.c
+++ b/drivers/net/tulip/de2104x.c
@@ -1518,15 +1518,15 @@ static int __de_get_settings(struct de_private *de, struct ethtool_cmd *ecmd)
1518 switch (de->media_type) { 1518 switch (de->media_type) {
1519 case DE_MEDIA_AUI: 1519 case DE_MEDIA_AUI:
1520 ecmd->port = PORT_AUI; 1520 ecmd->port = PORT_AUI;
1521 ecmd->speed = 5; 1521 ethtool_cmd_speed_set(ecmd, 5);
1522 break; 1522 break;
1523 case DE_MEDIA_BNC: 1523 case DE_MEDIA_BNC:
1524 ecmd->port = PORT_BNC; 1524 ecmd->port = PORT_BNC;
1525 ecmd->speed = 2; 1525 ethtool_cmd_speed_set(ecmd, 2);
1526 break; 1526 break;
1527 default: 1527 default:
1528 ecmd->port = PORT_TP; 1528 ecmd->port = PORT_TP;
1529 ecmd->speed = SPEED_10; 1529 ethtool_cmd_speed_set(ecmd, SPEED_10);
1530 break; 1530 break;
1531 } 1531 }
1532 1532