* [PATCH net-next] phy: add reverse MII PHY connection type
@ 2013-05-28 14:07 Florian Fainelli
2013-05-31 13:17 ` Florian Fainelli
2013-06-01 0:20 ` David Miller
0 siblings, 2 replies; 4+ messages in thread
From: Florian Fainelli @ 2013-05-28 14:07 UTC (permalink / raw)
To: davem; +Cc: netdev, afleming, jogo, Florian Fainelli
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>
---
drivers/of/of_net.c | 1 +
include/linux/phy.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c
index ffab033..ea174c8 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",
diff --git a/include/linux/phy.h b/include/linux/phy.h
index ee411b0..64ab823 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,
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] phy: add reverse MII PHY connection type
2013-05-28 14:07 [PATCH net-next] phy: add reverse MII PHY connection type Florian Fainelli
@ 2013-05-31 13:17 ` Florian Fainelli
2013-05-31 22:04 ` David Miller
2013-06-01 0:20 ` David Miller
1 sibling, 1 reply; 4+ messages in thread
From: Florian Fainelli @ 2013-05-31 13:17 UTC (permalink / raw)
To: David Miller; +Cc: netdev, afleming, jogo, Florian Fainelli
David,
2013/5/28 Florian Fainelli <f.fainelli@gmail.com>:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] phy: add reverse MII PHY connection type
2013-05-31 13:17 ` Florian Fainelli
@ 2013-05-31 22:04 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2013-05-31 22:04 UTC (permalink / raw)
To: f.fainelli; +Cc: netdev, afleming, jogo
You 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:
http://patchwork.ozlabs.org/project/netdev/list/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] phy: add reverse MII PHY connection type
2013-05-28 14:07 [PATCH net-next] phy: add reverse MII PHY connection type Florian Fainelli
2013-05-31 13:17 ` Florian Fainelli
@ 2013-06-01 0:20 ` David Miller
1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2013-06-01 0:20 UTC (permalink / raw)
To: f.fainelli; +Cc: netdev, afleming, jogo
From: "Florian Fainelli" <f.fainelli@gmail.com>
Date: Tue, 28 May 2013 15:07:21 +0100
> 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>
Applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-01 0:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-28 14:07 [PATCH net-next] phy: add reverse MII PHY connection type Florian Fainelli
2013-05-31 13:17 ` Florian Fainelli
2013-05-31 22:04 ` David Miller
2013-06-01 0:20 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).