commit | d53dd5035213fa39817380c22603820c57c476b5 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sat Apr 04 15:01:22 2020 +0200 |
committer | marex <marex@desktop.lan> | Sat Apr 04 15:06:37 2020 +0200 |
tree | 2e207991e598806231148a2fbea867feb39ed9f6 | |
parent | 7ae42ce16ea2778a1c95385092a320964fbb5543 [diff] |
net: sh_eth: Init the hardware before PHY access To access the PHY, the MAC registers must be initialized. Call the init function in probe() to make it so, otherwise the PHY ID readout returns all zeroes. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>