Commit 4618d671 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by David S. Miller

net: phy: add interface mode PHY_INTERFACE_MODE_USXGMII

Add support for interface mode PHY_INTERFACE_MODE_USXGMII.
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent af5136f9
...@@ -103,6 +103,7 @@ typedef enum { ...@@ -103,6 +103,7 @@ typedef enum {
PHY_INTERFACE_MODE_XAUI, PHY_INTERFACE_MODE_XAUI,
/* 10GBASE-KR, XFI, SFI - single lane 10G Serdes */ /* 10GBASE-KR, XFI, SFI - single lane 10G Serdes */
PHY_INTERFACE_MODE_10GKR, PHY_INTERFACE_MODE_10GKR,
PHY_INTERFACE_MODE_USXGMII,
PHY_INTERFACE_MODE_MAX, PHY_INTERFACE_MODE_MAX,
} phy_interface_t; } phy_interface_t;
...@@ -178,6 +179,8 @@ static inline const char *phy_modes(phy_interface_t interface) ...@@ -178,6 +179,8 @@ static inline const char *phy_modes(phy_interface_t interface)
return "xaui"; return "xaui";
case PHY_INTERFACE_MODE_10GKR: case PHY_INTERFACE_MODE_10GKR:
return "10gbase-kr"; return "10gbase-kr";
case PHY_INTERFACE_MODE_USXGMII:
return "usxgmii";
default: default:
return "unknown"; return "unknown";
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment