diff options
author | Andy Fleming <afleming@gmail.com> | 2014-01-10 14:26:46 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-13 14:29:48 -0800 |
commit | 898dd0bda366edd0b077db4389a26c00509c73c9 (patch) | |
tree | e12be946574eef66acaa8332c3f4961e09c4ff53 | |
parent | efabdfb95ab698b51009e7783ddc2714cef0aecf (diff) | |
download | linux-898dd0bda366edd0b077db4389a26c00509c73c9.tar.bz2 |
phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY
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>
-rw-r--r-- | drivers/of/of_net.c | 1 | ||||
-rw-r--r-- | include/linux/phy.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index 8f9be2e09937..a208a457558c 100644 --- a/drivers/of/of_net.c +++ b/drivers/of/of_net.c @@ -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", }; /** diff --git a/include/linux/phy.h b/include/linux/phy.h index 3eda43c90875..a9685b109049 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -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; |