net: phy: add interface mode PHY_INTERFACE_MODE_USXGMII
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 23 May 2019 18:06:49 +0000 (20:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2019 20:39:34 +0000 (13:39 -0700)
Add support for interface mode PHY_INTERFACE_MODE_USXGMII.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy.h

index 073fb151b5a99c7e51dea743496d4b21e1663ae2..7180b1d1e5e30d8b9f99c8160181841e542a482d 100644 (file)
@@ -103,6 +103,7 @@ typedef enum {
        PHY_INTERFACE_MODE_XAUI,
        /* 10GBASE-KR, XFI, SFI - single lane 10G Serdes */
        PHY_INTERFACE_MODE_10GKR,
+       PHY_INTERFACE_MODE_USXGMII,
        PHY_INTERFACE_MODE_MAX,
 } phy_interface_t;
 
@@ -178,6 +179,8 @@ static inline const char *phy_modes(phy_interface_t interface)
                return "xaui";
        case PHY_INTERFACE_MODE_10GKR:
                return "10gbase-kr";
+       case PHY_INTERFACE_MODE_USXGMII:
+               return "usxgmii";
        default:
                return "unknown";
        }