summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorAndy Fleming <afleming@gmail.com>2014-01-10 14:26:46 +0800
committerDavid S. Miller <davem@davemloft.net>2014-01-13 14:29:48 -0800
commit898dd0bda366edd0b077db4389a26c00509c73c9 (patch)
treee12be946574eef66acaa8332c3f4961e09c4ff53 /drivers/of
parentefabdfb95ab698b51009e7783ddc2714cef0aecf (diff)
downloadlinux-898dd0bda366edd0b077db4389a26c00509c73c9.tar.gz
linux-898dd0bda366edd0b077db4389a26c00509c73c9.tar.bz2
linux-898dd0bda366edd0b077db4389a26c00509c73c9.zip
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>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/of_net.c1
1 files changed, 1 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",
};
/**