phy: add reverse MII PHY connection type
Subsystems (4)
PATCH 1/1 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".
--- drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+)
drivers/of/of_net.c +1 -0
@@ -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",
include/linux/phy.h +1 -0
@@ -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,
Signature · 1 line
1.8.1.2
David,
2013/5/28 Florian Fainelli <[email protected]>:
Quoted 3 lines
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".
You seem to have applied other phylib related patches, just wondering if this one got forgotten?
Thanks!
--
Florian
David Miller
maintainerYou never need to ask me about patch status, it wastes my time when I already work to maintain a database of this information which anyone can check.
Look here:
From: "Florian Fainelli" <[email protected]>
Date: Tue, 28 May 2013 15:07:21 +0100
Quoted 5 lines
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 <[email protected]>
Applied.