]> git.dujemihanovic.xyz Git - u-boot.git/commit
net/fm: Enable FMAN ports if l2switch ports are connected over SGMII
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Mon, 12 Jan 2015 12:08:32 +0000 (14:08 +0200)
committerYork Sun <yorksun@freescale.com>
Fri, 16 Jan 2015 17:32:32 +0000 (09:32 -0800)
commit27b57569549251f65d37fe95593997004f0f69b8
treeb65779b44a2a16a5bb405d615ca27c07c29f98ea
parentc2a61cd232910cb5c53d67699394dcc29e96fab8
net/fm: Enable FMAN ports if l2switch ports are connected over SGMII

If SerDes is configured to connect L2 Switch ports from T1040
over SGMII or QSGMII, the two FMAN fixed ports (FM1@DTSEC1 and FM2@DTSEC2)
that are connected to two L2 swtch ports must be enabled. These
ports don't have PHYs and must be treated accordingly.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/fm/t1040.c