net: phy: add missing SPEED_14000
authorJoe Perches <joe@perches.com>
Fri, 9 Jun 2017 13:45:32 +0000 (15:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 13:53:25 +0000 (09:53 -0400)
Fixes: 0d7e2d2166f6 ("IB/ipoib: add get_link_ksettings in ethtool")
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c

index 7524caa0f29d9806e11826c7ecfd57842bff1822..eebb0e1c70ff51a40189fd9690217c34ce9bb4cb 100644 (file)
@@ -54,6 +54,8 @@ static const char *phy_speed_to_str(int speed)
                return "5Gbps";
        case SPEED_10000:
                return "10Gbps";
+       case SPEED_14000:
+               return "14Gbps";
        case SPEED_20000:
                return "20Gbps";
        case SPEED_25000: