cxgb4: Fix FW flash logic using ethtool
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 14 Oct 2014 20:24:14 +0000 (01:54 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 20:55:06 +0000 (16:55 -0400)
commit22c0b963d7400971f4c5a1a67b083e3742996640
treefe295e10c677b0a2d51afd4ceaef3c042fae45ab
parent6e36145d4ec754f4a8ce9d6912ca4d82ffb6ae3f
cxgb4: Fix FW flash logic using ethtool

Use t4_fw_upgrade instead of t4_load_fw to write firmware into FLASH, since
t4_load_fw doesn't co-ordinate with the firmware and the adapter can get hosed
enough to require a power cycle of the system.

Based on original work by Casey Leedom <leedom@chelsio.com>

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c