net/fec: preserve MII/RMII setting in fec_stop()
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 7 Dec 2011 21:59:30 +0000 (21:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 00:51:20 +0000 (19:51 -0500)
commit42431dc24de343d62bb8fb885586de7f408919c8
treec78449f9d53863a1e23f2b44ccdad36e2e289112
parent589efdc7f7327bc8ddf597bdaf9de38fcea31744
net/fec: preserve MII/RMII setting in fec_stop()

Additionally to setting the ETHER_EN bit in FEC_ECNTRL the MII/RMII
setting in FEC_R_CNTRL needs to be preserved to keep the MII interface
functional.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c