aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2008-05-02 16:57:08 -0700
committerDavid S. Miller <davem@davemloft.net>2008-05-02 16:57:08 -0700
commit15b169cccff1503a88f12f104e5657c65c53ade7 (patch)
tree4fddbc4c29f475eee8be149cf1eb0973509d808d /drivers/net/bnx2.c
parent543a827d7a5600a71855bd6afacac78536c86822 (diff)
downloadkernel_samsung_smdk4412-15b169cccff1503a88f12f104e5657c65c53ade7.zip
kernel_samsung_smdk4412-15b169cccff1503a88f12f104e5657c65c53ade7.tar.gz
kernel_samsung_smdk4412-15b169cccff1503a88f12f104e5657c65c53ade7.tar.bz2
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 <mchan@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r--drivers/net/bnx2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index d681f31..0fcea85 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 },