net: phy: mv88e61xx: rework to enable detection of 88E6071 devices
authorAnatolij Gustschin <agust@denx.de>
Sat, 26 Oct 2019 23:14:37 +0000 (01:14 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:42 +0000 (09:47 -0600)
commitf41a722baa9fab4eb6843eca51f0318ad104f145
tree2748b032c71964ad5e3b02a9b4416eae6b37a94a
parentb2f2643b393e6aff522dd7f608411a695ea9d67f
net: phy: mv88e61xx: rework to enable detection of 88E6071 devices

Extend the driver to init switch register offsets from variables
instead of compile time macros and enable detection of 88E6071 and
compatible devices. Ethernet transfer (e.g. tftp) does not work yet,
so enable the registration of the 'indirect mii' bus for easier PHY
register access by 'mii' command.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/mv88e61xx.c