Skip to content
Commit d53e5222 authored by Emmanuel Vadot's avatar Emmanuel Vadot Committed by Joe Hershberger
Browse files

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: 2348453c (net: sun8i_emac: Add EPHY CLK and RESET support)
Signed-off-by: default avatarEmmanuel Vadot <manu@freebsd.org>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent e809285d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment