diff options
| author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2017-06-27 12:28:01 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-06-29 19:23:27 +0300 |
| commit | 1c2fa5f846832cbed8b8e6151471436071972e41 (patch) | |
| tree | df18b4aa6d12d90bd1d4cdc81cfdde065dc2bfda /include/linux/cdev.h | |
| parent | eac306b4adb7452c0228f32dd004f791ab08aae8 (diff) | |
| download | linux-1c2fa5f846832cbed8b8e6151471436071972e41.tar.xz | |
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 'include/linux/cdev.h')
0 files changed, 0 insertions, 0 deletions
