diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2013-05-28 06:07:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-01 02:19:05 +0200 |
commit | 2cc70ba4cf5f97a7cf08063d2fae693d36b462eb (patch) | |
tree | ce33adfb1f0902a93adbae366e97c74421647db3 /drivers/of | |
parent | sit: add IPv4 over IPv4 support (diff) | |
download | linux-2cc70ba4cf5f97a7cf08063d2fae693d36b462eb.tar.xz linux-2cc70ba4cf5f97a7cf08063d2fae693d36b462eb.zip |
phy: add reverse MII PHY connection type
The PHY library currently does not know about the the reverse MII
connection type. Add it to the list of supported PHY modes and update
of_get_phy_mode() to support it and look for the string "rev-mii".
Signed-off-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index ffab033d207e..ea174c8ee34b 100644 --- a/drivers/of/of_net.c +++ b/drivers/of/of_net.c @@ -22,6 +22,7 @@ static const char *phy_modes[] = { [PHY_INTERFACE_MODE_GMII] = "gmii", [PHY_INTERFACE_MODE_SGMII] = "sgmii", [PHY_INTERFACE_MODE_TBI] = "tbi", + [PHY_INTERFACE_MODE_REVMII] = "rev-mii", [PHY_INTERFACE_MODE_RMII] = "rmii", [PHY_INTERFACE_MODE_RGMII] = "rgmii", [PHY_INTERFACE_MODE_RGMII_ID] = "rgmii-id", |