Skip to contentSkip to conversation

phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

PATCH New [email protected] 1 participant 1 message Jan 10, 2014

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v6 2/6 phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

From: Andy Fleming <[email protected]>

---
changes for v6:
rebased on top of 'net-next' tree. commit id 11b57f90257c1.

 drivers/of/of_net.c | 1 +
 include/linux/phy.h | 1 +
 2 files changed, 2 insertions(+)
drivers/of/of_net.c +1 -0
index 8f9be2e..a208a45 100644
@@ -30,6 +30,7 @@ static const char *phy_modes[] = {
 	[PHY_INTERFACE_MODE_RGMII_TXID] = "rgmii-txid",
 	[PHY_INTERFACE_MODE_RTBI]	= "rtbi",
 	[PHY_INTERFACE_MODE_SMII]	= "smii",
+	[PHY_INTERFACE_MODE_XGMII]	= "xgmii",
 };
 
 /**
include/linux/phy.h +1 -0
index 3eda43c..a9685b1 100644
@@ -73,6 +73,7 @@ typedef enum {
 	PHY_INTERFACE_MODE_RGMII_TXID,
 	PHY_INTERFACE_MODE_RTBI,
 	PHY_INTERFACE_MODE_SMII,
+	PHY_INTERFACE_MODE_XGMII,
 } phy_interface_t;
 
 
Signature · 1 line
1.8.4.1