bnx2x: use mask in test_registers() to avoid parity error
authorVladislav Zolotarov <vladz@broadcom.com>
Mon, 19 Apr 2010 01:14:37 +0000 (01:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Apr 2010 20:17:10 +0000 (13:17 -0700)
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>

No differences found