diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2017-06-27 11:28:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-29 18:23:27 +0200 |
commit | 1c2fa5f846832cbed8b8e6151471436071972e41 (patch) | |
tree | df18b4aa6d12d90bd1d4cdc81cfdde065dc2bfda /COPYING | |
parent | Bonding: Convert multiple netdev_info messages to netdev_dbg (diff) | |
download | linux-1c2fa5f846832cbed8b8e6151471436071972e41.tar.xz linux-1c2fa5f846832cbed8b8e6151471436071972e41.zip |
net: stmmac: support future possible different internal phy mode
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 than the internal one.
Reported-by: André Przywara <andre.przywara@arm.com>
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions