commit | 8eb5a20ccc67d85d52ead88fb263eb28814ca2b4 | [log] [tgz] |
---|---|---|
author | Vladislav Zolotarov <vladz@broadcom.com> | Mon Apr 19 01:14:37 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 19 13:17:10 2010 -0700 |
tree | 3c85251d8c415a26235e7de615e378950c57c67d | |
parent | 1ac218c83fbfc6bcdbef36b38f79d0ee08420285 [diff] |
bnx2x: use mask in test_registers() to avoid parity error Properly mask the value to be written to the register (according to the register size) during the self-test. Otherwise immediate parity error would be generated. Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>