cxgb4: Clear On FLASH config file after a FW upgrade
authorArjun Vynipadath <arjun@chelsio.com>
Tue, 8 Aug 2017 05:50:52 +0000 (11:20 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 03:34:31 +0000 (20:34 -0700)
commit4da1874190946b16d21b3c02e283b08619255c24
tree31e8a4904c5cf6ff86dc5201f42db61f8e38d2d8
parent7120371c8ef1bca709308f6e41130b6fd87b7d15
cxgb4: Clear On FLASH config file after a FW upgrade

Because Firmware and the Firmware Configuration File need to be
in sync; clear out any On-FLASH Firmware Configuration File when new
Firmware is loaded.  This will avoid difficult to diagnose and fix
problems with a mis-matched Firmware Configuration File which prevents the
adapter from being initialized.

Original work by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c