aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/cxgb3_main.c
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-09-05 18:58:09 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:51:03 -0400
commita5a3b4601bfa3c7671944067d4e4b04bf647e6d9 (patch)
tree6dc3b626a855bb85fa724041b2fd4369facdada3 /drivers/net/cxgb3/cxgb3_main.c
parent34c6417b7087a4818e7dca2e5d66c3361cee80a1 (diff)
cxgb3 - Firmware update
Update firmware version. Allow the driver to be up and running with older FW image Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/cxgb3_main.c')
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index 3ee465dd0b0..8f1d602a883 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -797,11 +797,12 @@ static int cxgb_up(struct adapter *adap)
797 int must_load; 797 int must_load;
798 798
799 if (!(adap->flags & FULL_INIT_DONE)) { 799 if (!(adap->flags & FULL_INIT_DONE)) {
800 err = t3_check_fw_version(adap); 800 err = t3_check_fw_version(adap, &must_load);
801 if (err == -EINVAL) 801 if (err == -EINVAL) {
802 err = upgrade_fw(adap); 802 err = upgrade_fw(adap);
803 if (err) 803 if (err && must_load)
804 goto out; 804 goto out;
805 }
805 806
806 err = t3_check_tpsram_version(adap, &must_load); 807 err = t3_check_tpsram_version(adap, &must_load);
807 if (err == -EINVAL) { 808 if (err == -EINVAL) {