netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/5][v2] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY
@ 2013-11-26  9:52 shh.xie
  2013-11-27 18:41 ` Florian Fainelli
  0 siblings, 1 reply; 2+ messages in thread
From: shh.xie @ 2013-11-26  9:52 UTC (permalink / raw)
  To: davem, jg1.han, mugunthanvnm, f.fainelli, netdev, linux-kernel
  Cc: Emilian.Medve, madalin.bucur

From: Shaohui Xie <Shaohui.Xie@freescale.com>

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
---
v2: update of_net.c.

 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 8f9be2e..a208a45 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",
 };
 
 /**
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 2549b42..2606599 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -66,6 +66,7 @@ typedef enum {
 	PHY_INTERFACE_MODE_RGMII_TXID,
 	PHY_INTERFACE_MODE_RTBI,
 	PHY_INTERFACE_MODE_SMII,
+	PHY_INTERFACE_MODE_XGMII,
 } phy_interface_t;
 
 
-- 
1.8.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/5][v2] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY
  2013-11-26  9:52 [PATCH 2/5][v2] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY shh.xie
@ 2013-11-27 18:41 ` Florian Fainelli
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2013-11-27 18:41 UTC (permalink / raw)
  To: shh.xie
  Cc: David Miller, jg1.han, mugunthanvnm, netdev,
	linux-kernel@vger.kernel.org, Emilian.Medve, madalin.bucur

2013/11/26  <shh.xie@gmail.com>:
> From: Shaohui Xie <Shaohui.Xie@freescale.com>
>
> Signed-off-by: Andy Fleming <afleming@freescale.com>
> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>

> ---
> v2: update of_net.c.
>
>  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 8f9be2e..a208a45 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",
>  };
>
>  /**
> diff --git a/include/linux/phy.h b/include/linux/phy.h
> index 2549b42..2606599 100644
> --- a/include/linux/phy.h
> +++ b/include/linux/phy.h
> @@ -66,6 +66,7 @@ typedef enum {
>         PHY_INTERFACE_MODE_RGMII_TXID,
>         PHY_INTERFACE_MODE_RTBI,
>         PHY_INTERFACE_MODE_SMII,
> +       PHY_INTERFACE_MODE_XGMII,
>  } phy_interface_t;
>
>
> --
> 1.8.4.1
>
>



-- 
Florian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-27 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26  9:52 [PATCH 2/5][v2] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY shh.xie
2013-11-27 18:41 ` Florian Fainelli

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).