phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY
authorAndy Fleming <afleming@gmail.com>
Fri, 10 Jan 2014 06:26:46 +0000 (14:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jan 2014 22:29:48 +0000 (14:29 -0800)
Signed-off-by: Andy Fleming <afleming@gmail.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/of_net.c
include/linux/phy.h

index 8f9be2e..a208a45 100644 (file)
@@ -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",
 };
 
 /**
index 3eda43c..a9685b1 100644 (file)
@@ -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;