eth: a38x,a39x: add gigE port enable/disable support
support needed for AMC board which has 3 gigE MACs
yet, second MAC is not-connected.
Added support for unconnected ports:
- added boardMacEnabled boolean to MV_BOARD_MAC_INFO structure
to check if the specific port is enabled
- check if port is enabled in mvBoardIsGbEPortConnected API
- avoid configuring unconnected ports
- skip printing unconnected ports.
This commit fixes JIRA #SYSTEMSW-1604.
Change-Id: Ifabbff0fda3fe6522be08fd661f85d4244aec265
Signed-off-by: Boaz Shunary <boazs@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/18549
Tested-by: Star_Automation <star@marvell.com>
Reviewed-by: Omri Itach <omrii@marvell.com>
Reviewed-by: Hanna Hawa <hannah@marvell.com>
5 files changed