forked from Minki/linux
911b237d7d
With some PHYs, when the link goes away, the EMAC reset fails due to the loss of the RX clock I believe. The old EMAC driver worked around that using some internal chip-specific clock force bits that are different on various 44x implementations. This is an attempt at doing it differently, by avoiding the reset when there is no link, but forcing loopback mode instead. It seems to work on my Taishan 440GX based board so far. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Jeff Garzik <jeff@garzik.org> |
||
---|---|---|
.. | ||
core.c | ||
core.h | ||
debug.c | ||
debug.h | ||
emac.h | ||
Kconfig | ||
Makefile | ||
mal.c | ||
mal.h | ||
phy.c | ||
phy.h | ||
rgmii.c | ||
rgmii.h | ||
tah.c | ||
tah.h | ||
zmii.c | ||
zmii.h |