bnx2x: Allowing 0 as initial fairness value

Value of zero was used to disable the fairness mechanism. Though the code
(driver and FW) allowed changing the value at run time, it did not allow to do
that if the mechanism was disabled to begin with.
Fixed the FW to allow turning on and off the mechanism at run time. Fixed the
code to read the value from the chip at the right sequence.
Without this fix, if the initial value was set to zero, traffic could not run on
the interface.

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eilon Greenstein 2009-10-15 00:17:20 -07:00 committed by David S. Miller
parent 94f0989538
commit 49e4e9da42
5 changed files with 2 additions and 2 deletions

4
WHENCE
View File

@ -674,8 +674,8 @@ Found in hex form in kernel source.
Driver: bnx2x: Broadcom Everest Driver: bnx2x: Broadcom Everest
File: bnx2x-e1-4.8.53.0.fw.ihex File: bnx2x-e1-5.2.7.0.fw.ihex
File: bnx2x-e1h-4.8.53.0.fw.ihex File: bnx2x-e1h-5.2.7.0.fw.ihex
License: License:
Copyright (c) 2007-2009 Broadcom Corporation Copyright (c) 2007-2009 Broadcom Corporation

Binary file not shown.

BIN
bnx2x-e1-5.2.7.0.fw Normal file

Binary file not shown.

Binary file not shown.

BIN
bnx2x-e1h-5.2.7.0.fw Normal file

Binary file not shown.