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 8f9be2e099376981d7a4c39b87dbcc7de715a7ca..a208a457558c758a47ac7c0a2c43ca6e6426c85c 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 3eda43c908751b4eab2abd11b3aae5aa525c8653..a9685b109049979c9029ee9f985a6e2dfd570512 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;