B4860QDS: Enable enet port as per fsl_b4860_serdes2 string in hwconfig
authorSuresh Gupta <suresh.gupta@freescale.com>
Thu, 13 Nov 2014 03:28:09 +0000 (11:28 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 5 Dec 2014 16:06:14 +0000 (08:06 -0800)
commite2544e7a5459b7ad5efd8c99d54e71c2535281d1
tree0b34d0a97becf1263e22040a936e5695fc3a7089
parentb24f6d401c3270370b9c147cb9decf95dc6804d3
B4860QDS: Enable enet port as per fsl_b4860_serdes2 string in hwconfig

In B4860QDS board SerDes2 lanes EFGH either go to SFP or AMC riser card
slot2 so either DTSEC3/DTSEC4 or TGEC1/TGEC2 should be accessible. This
Patch enables DTSEC3/DTSEC4 or TGEC1/TGEC2 on bases of user specified
string fsl_b4860_serdes2:sfp_amc=amc or fsl_b4860_serdes2:sfp_amc=sfp
respectively in hwconfig.

Signed-off-by: Suresh Gupta <suresh.gupta@freescale.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/b4860qds/eth_b4860qds.c
drivers/net/fm/b4860.c