* [PATCH 3/6] [BNX2]: Fix register test on 5709.
@ 2008-04-30 22:51 Michael Chan
2008-05-02 23:58 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Michael Chan @ 2008-04-30 22:51 UTC (permalink / raw)
To: davem, netdev; +Cc: benli, andy
[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>
---
drivers/net/bnx2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 9c6f21f..b5560a9 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -4914,7 +4914,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 },
--
1.5.5.GIT
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 3/6] [BNX2]: Fix register test on 5709.
2008-04-30 22:51 [PATCH 3/6] [BNX2]: Fix register test on 5709 Michael Chan
@ 2008-05-02 23:58 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-05-02 23:58 UTC (permalink / raw)
To: mchan; +Cc: netdev, benli, andy
From: "Michael Chan" <mchan@broadcom.com>
Date: Wed, 30 Apr 2008 15:51:38 -0700
> [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>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-02 23:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-30 22:51 [PATCH 3/6] [BNX2]: Fix register test on 5709 Michael Chan
2008-05-02 23:58 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).