summaryrefslogtreecommitdiff
path: root/drivers/net/phy/swphy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/swphy.c')
-rw-r--r--drivers/net/phy/swphy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/swphy.c b/drivers/net/phy/swphy.c
index 34f58f2..52ddddb 100644
--- a/drivers/net/phy/swphy.c
+++ b/drivers/net/phy/swphy.c
@@ -77,6 +77,7 @@ static const struct swmii_regs duplex[] = {
static int swphy_decode_speed(int speed)
{
switch (speed) {
+ case 10000:
case 1000:
return SWMII_SPEED_1000;
case 100: