drivers: net: xgene: Workaround for HW errata 10GE_4
authorQuan Nguyen <qnguyen@apm.com>
Wed, 10 May 2017 20:45:07 +0000 (13:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 15:41:10 +0000 (11:41 -0400)
commita844e7d1fa24660dd17a78e5165210a3da112e73
tree6541ec1e07427370dda7a33aa52a35018d009c2d
parentca6d550c5dbe66e9e26eb52b7b1713b801f86c4f
drivers: net: xgene: Workaround for HW errata 10GE_4

This patch adds workaround for HW errata 10GE_4:
"XGENET_ICM_ECM_DROP_COUNT_REG_0 reg not clear on read".

Signed-off-by: Quan Nguyen <qnguyen@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.c
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c