diff options
author | Emmanuel Vadot <manu@freebsd.org> | 2019-07-19 22:26:38 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2019-07-25 13:36:13 -0500 |
commit | d53e52225527625c72c4dbff4fe8c0b68a553340 (patch) | |
tree | dd697d41d86af4df0caa588f7cb5f01ed8b63d66 /drivers/net/mvneta.c | |
parent | e809285d4942cbd6c3efb381bd48dcf8294639a7 (diff) |
net: sun8i_emac: Test the correct phy
H3/H5 can either use the internal phy or an external one.
Before getting clock and resets for the internal phy,
test that we are using it because otherwise it break emac
when using an external phy.
Tested-on: OrangePi PC2 (H5)
Fixes: 2348453c41 (net: sun8i_emac: Add EPHY CLK and RESET support)
Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/mvneta.c')
0 files changed, 0 insertions, 0 deletions