]> 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)
commit256f318ca77d40a5e93dbc3c0c41f7774d1f80b7
tree06461dd8fd61838b34c276f5409070ce73eef0b3
parent27a948f0da1cbe79d83913f677e916d356f45f8f
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