diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2020-03-12 18:10:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-14 20:55:12 -0700 |
commit | 58b05e58d155fd5a9a181d51b4c9c8a69a0816d3 (patch) | |
tree | ba68bc0c450a363b503695caad95c48ae041b533 /include/linux/phy.h | |
parent | f1dc7460eb40cbaabf682bdfece15e636e86adaa (diff) | |
download | linux-stable-58b05e58d155fd5a9a181d51b4c9c8a69a0816d3.tar.gz linux-stable-58b05e58d155fd5a9a181d51b4c9c8a69a0816d3.tar.bz2 linux-stable-58b05e58d155fd5a9a181d51b4c9c8a69a0816d3.zip |
net: phy: Add XLGMII interface define
Add a define for XLGMII interface.
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 7a08023bdbc5..6b872aed8ba6 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -94,6 +94,7 @@ typedef enum { PHY_INTERFACE_MODE_RTBI, PHY_INTERFACE_MODE_SMII, PHY_INTERFACE_MODE_XGMII, + PHY_INTERFACE_MODE_XLGMII, PHY_INTERFACE_MODE_MOCA, PHY_INTERFACE_MODE_QSGMII, PHY_INTERFACE_MODE_TRGMII, @@ -165,6 +166,8 @@ static inline const char *phy_modes(phy_interface_t interface) return "smii"; case PHY_INTERFACE_MODE_XGMII: return "xgmii"; + case PHY_INTERFACE_MODE_XLGMII: + return "xlgmii"; case PHY_INTERFACE_MODE_MOCA: return "moca"; case PHY_INTERFACE_MODE_QSGMII: |