drivers: net: xgene: XFI PCS reset when link is down
authorIyappan Subramanian <isubramanian@apm.com>
Sat, 13 Aug 2016 05:05:43 +0000 (22:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:48:53 +0000 (11:48 -0700)
commit3eb7cb9dc94609c14c51029964ac4bfd59cc4d25
treef89474ed4e2824fedf4b20c9de02bb716fafa0b2
parent4f1c8d811251876ee0a1e82c7379305faf589974
drivers: net: xgene: XFI PCS reset when link is down

This patch fixes the link recovery issue, by doing PCS reset
when the link is down.

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