From 676f6750201d017965f123f7956a582f80589cbf Mon Sep 17 00:00:00 2001 From: Andy Gospodarek Date: Thu, 12 Jun 2008 15:35:53 -0400 Subject: [PATCH] bnx2x: correct chip reset RHBZ 328001 This bit somehow got missed for RHEL4 and it wasn't discovered until now. Mea cupla. commit 619c714c1d6e4dff00ddde582d78492fd95452d6 Author: Eliezer Tamir Date: Wed Apr 9 15:25:46 2008 -0700 BNX2X: Correct bringing chip out of reset Fixed bug: Wrong register was written to when bringing the chip out of reset. --- drivers/net/bnx2x.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/bnx2x.c b/drivers/net/bnx2x.c index 8943c71..d9a9407 100644 --- a/drivers/net/bnx2x.c +++ b/drivers/net/bnx2x.c @@ -6160,7 +6160,7 @@ static int bnx2x_function_init(struct bnx2x *bp, int mode) func, mode); REG_WR(bp, GRCBASE_MISC + MISC_REGISTERS_RESET_REG_1_SET, 0xffffffff); - REG_WR(bp, GRCBASE_MISC + MISC_REGISTERS_RESET_REG_1_SET, + REG_WR(bp, GRCBASE_MISC + MISC_REGISTERS_RESET_REG_2_SET, 0xfffc); bnx2x_init_block(bp, MISC_COMMON_START, MISC_COMMON_END); -- 1.5.2.1