cxgb4: FW upgrade fixes
authorArjun Vynipadath <arjun@chelsio.com>
Tue, 30 May 2017 12:36:06 +0000 (18:06 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 18:12:29 +0000 (14:12 -0400)
commit26747211486c5bc7dd014c3caab206576e00c0d0
tree5a63d8f9a8835b7134c580fdc7dffc72d32105d9
parent12eb070babbcab4b003e060933971089864a6a54
cxgb4: FW upgrade fixes

Disable FW_OK flag while flashing Firmware. This will help to fix any
potential mailbox timeouts during Firmware flash.

Grab new devlog parameters after Firmware restart. When we FLASH new
Firmware onto an adapter, the new Firmware may have the Firmware Device Log
located at a different memory address or have a different size for it.

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