diff mbox series

[net-next,1/3] net: phy: add interface mode PHY_INTERFACE_MODE_5GBASER.

Message ID 20200819153816.30834-2-marek.behun@nic.cz
State New
Headers show
Series net: dsa: mv88e6xxx: Add Amethyst 88E6393X | expand

Commit Message

Marek BehĂșn Aug. 19, 2020, 3:38 p.m. UTC
Add support for interface mode PHY_INTERFACE_MODE_5GBASER.

Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
---
 include/linux/phy.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/include/linux/phy.h b/include/linux/phy.h
index 3a09d2bf69ea4..0214d70e12a69 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -105,6 +105,7 @@  typedef enum {
 	PHY_INTERFACE_MODE_TRGMII,
 	PHY_INTERFACE_MODE_1000BASEX,
 	PHY_INTERFACE_MODE_2500BASEX,
+	PHY_INTERFACE_MODE_5GBASER,
 	PHY_INTERFACE_MODE_RXAUI,
 	PHY_INTERFACE_MODE_XAUI,
 	/* 10GBASE-R, XFI, SFI - single lane 10G Serdes */
@@ -183,6 +184,8 @@  static inline const char *phy_modes(phy_interface_t interface)
 		return "1000base-x";
 	case PHY_INTERFACE_MODE_2500BASEX:
 		return "2500base-x";
+	case PHY_INTERFACE_MODE_5GBASER:
+		return "5gbase-r";
 	case PHY_INTERFACE_MODE_RXAUI:
 		return "rxaui";
 	case PHY_INTERFACE_MODE_XAUI: