summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnx2x
diff options
context:
space:
mode:
authorJay Hernandez <jay@chelsio.com>2013-05-30 03:24:14 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-06-01 00:25:43 (GMT)
commite69972f52bdc4bc384a21a6561d5673b4a94e989 (patch)
tree669464aa3f42c1e501203cb016d9fe8eb51e1213 /drivers/net/ethernet/broadcom/bnx2x
parent5c510811547f88522b00623417b97d9fba85a06b (diff)
downloadlinux-fsl-qoriq-e69972f52bdc4bc384a21a6561d5673b4a94e989.tar.xz
cxgb4: Force uninitialized state if FW_ON_ADAPTER is < FW_VERSION and we're the MASTER_PF
Forcing uninitialized state allows us to upgrade and reinitialize the adapter. FW_VERSION_T4 = 1.4.0.0 FW_VERSION_T5 = 0.0.0.0 At this point driver supports above and greater than above version of firmware. If it doesn't find the required firmware version than it forces the adapter to be reinitialized as shown below. 1) If FW_ON_ADAPTER < FW_VERSION and we're the MASTER_PF force uninitialized state and a FW upgrade if available. - If FW_ON_ADAPTER < /lib/firmware/cxgb4/t*fw.bin we will update the adapters FW. - If FW_ON_ADAPTER >= /lib/firmware/cxgb4/t*fw.bin don't upgrade FW. - If upgrade_fw() fails force reinitialization of the adapter anyways, it might still work. Either way forcing the uninitialized state allows cxgb4 reinitialize FW. 2) If FW_ON_ADAPTER >= FW_VERSION driver follows normal path. Signed-off-by: Jay Hernandez <jay@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x')
0 files changed, 0 insertions, 0 deletions