]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e598e7c926a835614eda9b55a66383bd94a00e8
tree06461dd8fd61838b34c276f5409070ce73eef0b3
parentb40a61d2b9cdcfc9c201575dd4229b0d567560bd
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