net: phy: add 10G fixed-link support
authorCamelia Groza <camelia.groza@nxp.com>
Tue, 22 Aug 2017 15:35:11 +0000 (18:35 +0300)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 05:13:30 +0000 (13:13 +0800)
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
drivers/net/phy/swphy.c

index 59f1ba4..522ecda 100644 (file)
@@ -71,6 +71,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: