bnx2x: (NPAR mode) Fix FW initialization
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 28 Feb 2011 03:37:20 +0000 (03:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2011 21:14:46 +0000 (13:14 -0800)
commitfaa6fcbbba110c7c4bc299bc90f59d9f7b51ac6e
tree7e4b38510a18b12df71e9b35269f4cfc4e7a94bf
parente3fa3aff0cb198e7c53d894f52146121d9592872
bnx2x: (NPAR mode) Fix FW initialization

Fix FW initialization according to max BW stored in percents
 for NPAR mode. Protect HW from being configured to speed 0.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_cmn.c
drivers/net/bnx2x/bnx2x_cmn.h
drivers/net/bnx2x/bnx2x_ethtool.c
drivers/net/bnx2x/bnx2x_main.c