Re: [PATCH 1/6] net: stmmac: support future possible different internal phy mode

2017-06-29 Thread David Miller
From: Corentin Labbe Date: Thu, 29 Jun 2017 19:02:38 +0200 > On Thu, Jun 29, 2017 at 12:23:49PM -0400, David Miller wrote: >> From: Corentin Labbe >> Date: Tue, 27 Jun 2017 11:28:01 +0200 >> >> > The current way to find if the phy is

Re: [PATCH 1/6] net: stmmac: support future possible different internal phy mode

2017-06-29 Thread David Miller
From: Corentin Labbe Date: Thu, 29 Jun 2017 19:02:38 +0200 > On Thu, Jun 29, 2017 at 12:23:49PM -0400, David Miller wrote: >> From: Corentin Labbe >> Date: Tue, 27 Jun 2017 11:28:01 +0200 >> >> > The current way to find if the phy is internal is to compare DT phy-mode >> > and

Re: [PATCH 1/6] net: stmmac: support future possible different internal phy mode

2017-06-29 Thread Corentin Labbe
On Thu, Jun 29, 2017 at 12:23:49PM -0400, David Miller wrote: > From: Corentin Labbe > Date: Tue, 27 Jun 2017 11:28:01 +0200 > > > The current way to find if the phy is internal is to compare DT phy-mode > > and emac_variant/internal_phy. > > But it will negate a

Re: [PATCH 1/6] net: stmmac: support future possible different internal phy mode

2017-06-29 Thread Corentin Labbe
On Thu, Jun 29, 2017 at 12:23:49PM -0400, David Miller wrote: > From: Corentin Labbe > Date: Tue, 27 Jun 2017 11:28:01 +0200 > > > The current way to find if the phy is internal is to compare DT phy-mode > > and emac_variant/internal_phy. > > But it will negate a possible future SoC where an

Re: [linux-sunxi] Re: [PATCH 1/6] net: stmmac: support future possible different internal phy mode

2017-06-29 Thread icenowy
在 2017-06-30 00:23,David Miller 写道: From: Corentin Labbe Date: Tue, 27 Jun 2017 11:28:01 +0200 The current way to find if the phy is internal is to compare DT phy-mode and emac_variant/internal_phy. But it will negate a possible future SoC where an external PHY use

Re: [linux-sunxi] Re: [PATCH 1/6] net: stmmac: support future possible different internal phy mode

2017-06-29 Thread icenowy
在 2017-06-30 00:23,David Miller 写道: From: Corentin Labbe Date: Tue, 27 Jun 2017 11:28:01 +0200 The current way to find if the phy is internal is to compare DT phy-mode and emac_variant/internal_phy. But it will negate a possible future SoC where an external PHY use the same phy mode than the

Re: [PATCH 1/6] net: stmmac: support future possible different internal phy mode

2017-06-29 Thread David Miller
From: Corentin Labbe Date: Tue, 27 Jun 2017 11:28:01 +0200 > The current way to find if the phy is internal is to compare DT phy-mode > and emac_variant/internal_phy. > But it will negate a possible future SoC where an external PHY use the > same phy mode than the

Re: [PATCH 1/6] net: stmmac: support future possible different internal phy mode

2017-06-29 Thread David Miller
From: Corentin Labbe Date: Tue, 27 Jun 2017 11:28:01 +0200 > The current way to find if the phy is internal is to compare DT phy-mode > and emac_variant/internal_phy. > But it will negate a possible future SoC where an external PHY use the > same phy mode than the internal one. > > By using

[PATCH 1/6] net: stmmac: support future possible different internal phy mode

2017-06-27 Thread Corentin Labbe
The current way to find if the phy is internal is to compare DT phy-mode and emac_variant/internal_phy. But it will negate a possible future SoC where an external PHY use the same phy mode than the internal one. By using phy-mode = "internal" we permit to have an external PHY with the same mode

[PATCH 1/6] net: stmmac: support future possible different internal phy mode

2017-06-27 Thread Corentin Labbe
The current way to find if the phy is internal is to compare DT phy-mode and emac_variant/internal_phy. But it will negate a possible future SoC where an external PHY use the same phy mode than the internal one. By using phy-mode = "internal" we permit to have an external PHY with the same mode