commit | 98be8bea2e96ece17f39ec995baac5aa2c6960fe | [log] [tgz] |
---|---|---|
author | Emmanuel Vadot <manu@freebsd.org> | Fri Jul 19 22:26:38 2019 +0200 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Jul 25 13:36:13 2019 -0500 |
tree | dd697d41d86af4df0caa588f7cb5f01ed8b63d66 | |
parent | 2cedf753b3aa234f445960ebd0335b9b78410ac4 [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>