drivers: net: xgene: Change port init sequence
authorIyappan Subramanian <isubramanian@apm.com>
Sat, 13 Aug 2016 05:05:42 +0000 (22:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:48:52 +0000 (11:48 -0700)
commit4f1c8d811251876ee0a1e82c7379305faf589974
tree989941bb3a5f87a4bd2672c9378c95ffb1a7b940
parent29b4eafbae9cc5eec19377f4e5637a6e2dedd6bc
drivers: net: xgene: Change port init sequence

This patch rearranges the port initialization sequence as recommended by
hardware specification.  This patch also removes, mac_init() call from
xgene_enet_link_state(), as it was not required.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Tested-by: Fushen Chen <fchen@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c