net: phy: micrel: use generic config_init for KSZ8021/KSZ8031
authorJohan Hovold <johan@kernel.org>
Tue, 23 Dec 2014 11:59:17 +0000 (12:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2014 21:19:50 +0000 (16:19 -0500)
commitd0e1df9cf4a98fac8508f1d73d0f3a147d6c2c85
tree5c811f23a1492c70951183f78a13c1e1a046d34a
parent2c26d34bbcc0b3f30385d5587aa232289e2eed8e
net: phy: micrel: use generic config_init for KSZ8021/KSZ8031

Use generic config_init callback also for KSZ8021 and KSZ8031.

This has been avoided this far due to commit b838b4aced99 ("phy/micrel:
KSZ8031RNL RMII clock reconfiguration bug"), which claims that the PHY
becomes unresponsive if the broadcast-disable flag is set before
configuring the clock mode.

Turns out that the problem seemingly worked-around by the above
mentioned commit was really due to a hardware-configuration issue, where
the PHY was in fact strapped to address 3 rather than 0.

Tested-by: Bruno Thomsen <bth@kamstrup.dk>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c