aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_hsi.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-10-15 03:17:20 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-15 03:17:20 -0400
commitb015e3d112cab1880d262c56655c3ff60e179ceb (patch)
tree5d3d2c780e4ac8cfdd88e921c36fbcf447d585ad /drivers/net/bnx2x_hsi.h
parent69dc2df3aaee2ce5e875b14b7271436559be9a95 (diff)
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>
Diffstat (limited to 'drivers/net/bnx2x_hsi.h')
-rw-r--r--drivers/net/bnx2x_hsi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x_hsi.h b/drivers/net/bnx2x_hsi.h
index 994743d892ea..dc2f8ed5fd07 100644
--- a/drivers/net/bnx2x_hsi.h
+++ b/drivers/net/bnx2x_hsi.h
@@ -1259,8 +1259,8 @@ struct host_func_stats {
1259 1259
1260 1260
1261#define BCM_5710_FW_MAJOR_VERSION 5 1261#define BCM_5710_FW_MAJOR_VERSION 5
1262#define BCM_5710_FW_MINOR_VERSION 0 1262#define BCM_5710_FW_MINOR_VERSION 2
1263#define BCM_5710_FW_REVISION_VERSION 21 1263#define BCM_5710_FW_REVISION_VERSION 7
1264#define BCM_5710_FW_ENGINEERING_VERSION 0 1264#define BCM_5710_FW_ENGINEERING_VERSION 0
1265#define BCM_5710_FW_COMPILE_FLAGS 1 1265#define BCM_5710_FW_COMPILE_FLAGS 1
1266 1266