net:fec: Disable enet-avb MAC instead of reset MAC
authorFugang Duan <B38611@freescale.com>
Fri, 12 Sep 2014 21:00:51 +0000 (05:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 21:32:16 +0000 (17:32 -0400)
commit106c314c7a765d3c472f264e0915de6180922cda
tree5b4aec76163d621f0735743b258e042793632beb
parent59d0f746564495c7f54526674deabfcf101236a1
net:fec: Disable enet-avb MAC instead of reset MAC

For i.MX6SX enet use AXI bus, reset MAC will make system bus dead
if ENET-AXI bus has pending access (AHB bus should not have such issue).
So, disable enet with AVB MAC instead of reset MAC itself.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c