aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ns83820.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ns83820.c b/drivers/net/ns83820.c
index 379af3e4edcc..3bbd0aab17e8 100644
--- a/drivers/net/ns83820.c
+++ b/drivers/net/ns83820.c
@@ -1298,7 +1298,8 @@ static int ns83820_get_settings(struct net_device *ndev,
1298 cmd->speed = SPEED_10; 1298 cmd->speed = SPEED_10;
1299 break; 1299 break;
1300 } 1300 }
1301 cmd->autoneg = (tbicr & TBICR_MR_AN_ENABLE) ? 1: 0; 1301 cmd->autoneg = (tbicr & TBICR_MR_AN_ENABLE)
1302 ? AUTONEG_ENABLE : AUTONEG_DISABLE;
1302 return 0; 1303 return 0;
1303} 1304}
1304 1305