lan78xx: relocate mdix setting to phy driver
authorWoojung Huh <woojung.huh@microchip.com>
Thu, 17 Nov 2016 22:10:02 +0000 (22:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 18:57:33 +0000 (13:57 -0500)
commitf6e3ef3e4d3546b17e9901925276b70a9ea02d94
tree5507a5d63ecd5a8f7431fb03ecc5523c42030792
parent82e527df2843225d45705b8752c606a62afbf29a
lan78xx: relocate mdix setting to phy driver

Relocate mdix code to phy driver to be called at config_init().

Signed-off-by: Woojung Huh <woojung.huh@microchip.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/microchip.c
drivers/net/usb/lan78xx.c