MLK-14470 net: fec: let shared mii bus always be active
authorFugang Duan <fugang.duan@nxp.com>
Wed, 3 May 2017 09:41:52 +0000 (17:41 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:07 +0000 (15:22 -0500)
commit6b35d51822698ae038623732c799d4a030c182cc
tree6109ec2a2e598b82c139c0fa7f013b4bfa984dd1
parent4cb2b501c2ad52c633b22a338ce9e6802dabf2d9
MLK-14470 net: fec: let shared mii bus always be active

Many boards installed with i.MX chip only use two pins for mii bus
in two NET MAC system to save two pins. Then one MAC need to share
the mii bus with the other one. Since two net interface operation
are parallel and separate, we should keep the shared mii bus always
be active. So it should keep MAC clocks on.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit: d0f18f7633ed)
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c