amd-xgbe: Fix the ECC-related bit position definitions
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 22 Mar 2017 22:25:27 +0000 (17:25 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Mar 2017 02:39:58 +0000 (19:39 -0700)
commitf43feef4e6acde10857fcbfdede790d6b3f2c71d
tree06461dd8fd61838b34c276f5409070ce73eef0b3
parentc04ca616eed02b9abe7afd311382c3ed5eef5c40
amd-xgbe: Fix the ECC-related bit position definitions

The ECC bit positions that describe whether the ECC interrupt is for
Tx, Rx or descriptor memory and whether the it is a single correctable
or double detected error were defined in incorrectly (reversed order).
Fix the bit position definitions for these settings so that the proper
ECC handling is performed.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-common.h