diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2013-05-28 04:07:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-31 17:19:05 -0700 |
commit | 2cc70ba4cf5f97a7cf08063d2fae693d36b462eb (patch) | |
tree | ce33adfb1f0902a93adbae366e97c74421647db3 /include/linux/phy.h | |
parent | 32b8a8e59c9c8fa56051d6e9ab2924e469ac4d92 (diff) | |
download | linux-stable-2cc70ba4cf5f97a7cf08063d2fae693d36b462eb.tar.gz linux-stable-2cc70ba4cf5f97a7cf08063d2fae693d36b462eb.tar.bz2 linux-stable-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 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index ee411b0eef5d..64ab823f7b74 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -58,6 +58,7 @@ typedef enum { PHY_INTERFACE_MODE_GMII, PHY_INTERFACE_MODE_SGMII, PHY_INTERFACE_MODE_TBI, + PHY_INTERFACE_MODE_REVMII, PHY_INTERFACE_MODE_RMII, PHY_INTERFACE_MODE_RGMII, PHY_INTERFACE_MODE_RGMII_ID, |