Something went wrong on our end
-
Ilya Yanok authored
Some boards need their board-specific PHY quirks to be called to PHY to work normally. As mpc5xxx_fec driver uses on demand PHY initialization and can even reinit PHY during normal operation we can't count on reset_phy() call from arch/<arch>/lib/board.c (it is most likely called _before_ we init the PHY from the driver) so we need to add call to reset_phy() directly in the driver. Signed-off-by:
Ilya Yanok <yanok@emcraft.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
Ilya Yanok authoredSome boards need their board-specific PHY quirks to be called to PHY to work normally. As mpc5xxx_fec driver uses on demand PHY initialization and can even reinit PHY during normal operation we can't count on reset_phy() call from arch/<arch>/lib/board.c (it is most likely called _before_ we init the PHY from the driver) so we need to add call to reset_phy() directly in the driver. Signed-off-by:
Ilya Yanok <yanok@emcraft.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>