diff options
author | Nimrod Andy <B38611@freescale.com> | 2015-06-23 15:32:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-23 07:10:47 -0700 |
commit | 55dd27536671511317d80478904e4510ed1162a1 (patch) | |
tree | 5154458da1a1d8bac91060e57cbaa6234a2a2d64 /drivers/net/ethernet/apm/xgene/xgene_enet_main.c | |
parent | 42bcce87d763b4d22dc6d3a0c0b60c6b49820de8 (diff) |
net: fec: init MAC prior to mii bus probe
Below case causes mii bus probe failed:
ifconfig eth0 down -> suspend/resume with Mega/fax mix off -> ifconfig eth0 up
In i.MX6SX/i.MX7D chip, Mega/fast mix off feature is supported that means most of
SOC power will be off including ENET MAC for power saving. Once ENET MAC power
off, all initialized MAC registers reset to default, so in the case, it must
init MAC prior to mii bus probe.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apm/xgene/xgene_enet_main.c')
0 files changed, 0 insertions, 0 deletions