From: Eilon Greenstein Date: Thu, 15 Oct 2009 07:17:20 +0000 (-0700) Subject: bnx2x: Allowing 0 as initial fairness value X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1528f320df44af68fc9dd05aed88a1badef23d26;hp=1528f320df44af68fc9dd05aed88a1badef23d26;p=linux-firmware 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 Signed-off-by: David S. Miller ---