]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf0a0e8eb4bfe6b5f6b63e4abd9c3296b91e981f
treefe295e10c677b0a2d51afd4ceaef3c042fae45ab
parent6c1a1941ace348f71385e7eae285ed79790648a7
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