summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShengzhou Liu <[email protected]>2014-10-23 17:20:57 +0800
committerYork Sun <[email protected]>2014-11-19 18:17:12 -0800
commitc35f8693942d8284c635592f263a0fe11abe1d1d (patch)
tree2856c070bf6d583545d52bd79adaf517c83b25a9 /include
parent3ce21c87c196d9a0f446e572a30bdb6cdb82d769 (diff)
net/fm: add 2.5G SGMII support
As auto-negotiation is not supported for 2.5G SGMII, we need to add a new type PHY_INTERFACE_MODE_SGMII_2500 to differentiate SGMII-1G and SGMII-2.5G with different setting for auto-negotiation. Signed-off-by: Shaohui Xie <[email protected]> Signed-off-by: Shengzhou Liu <[email protected]> Reviewed-by: York Sun <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/phy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h
index b4950776977..d430ed0e32b 100644
--- a/include/phy.h
+++ b/include/phy.h
@@ -41,6 +41,7 @@ typedef enum {
PHY_INTERFACE_MODE_MII,
PHY_INTERFACE_MODE_GMII,
PHY_INTERFACE_MODE_SGMII,
+ PHY_INTERFACE_MODE_SGMII_2500,
PHY_INTERFACE_MODE_QSGMII,
PHY_INTERFACE_MODE_TBI,
PHY_INTERFACE_MODE_RMII,
@@ -57,6 +58,7 @@ static const char *phy_interface_strings[] = {
[PHY_INTERFACE_MODE_MII] = "mii",
[PHY_INTERFACE_MODE_GMII] = "gmii",
[PHY_INTERFACE_MODE_SGMII] = "sgmii",
+ [PHY_INTERFACE_MODE_SGMII_2500] = "sgmii-2500",
[PHY_INTERFACE_MODE_QSGMII] = "qsgmii",
[PHY_INTERFACE_MODE_TBI] = "tbi",
[PHY_INTERFACE_MODE_RMII] = "rmii",