From: Michael Chan Date: Fri, 2 May 2008 23:57:08 +0000 (-0700) Subject: bnx2: Fix register test on 5709. X-Git-Tag: v2.6.26-rc1~5^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15b169cccff1503a88f12f104e5657c65c53ade7;p=linux-2.6 bnx2: Fix register test on 5709. The register BNX2_CTX_STATUS (0x1004) should be skipped on 5709 as it contains reserved bits. Signed-off-by: Michael Chan Signed-off-by: Benjamin Li Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index d681f3153e..0fcea85907 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -4916,7 +4916,7 @@ bnx2_test_registers(struct bnx2 *bp) { 0x0c08, BNX2_FL_NOT_5709, 0x0f0ff073, 0x00000000 }, { 0x1000, 0, 0x00000000, 0x00000001 }, - { 0x1004, 0, 0x00000000, 0x000f0001 }, + { 0x1004, BNX2_FL_NOT_5709, 0x00000000, 0x000f0001 }, { 0x1408, 0, 0x01c00800, 0x00000000 }, { 0x149c, 0, 0x8000ffff, 0x00000000 },