summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2013-05-03 20:09:17 +0000
committernp <np@FreeBSD.org>2013-05-03 20:09:17 +0000
commit20af13d27b17ff783f532cc859a5167ecd0adb7e (patch)
tree15587e41f468d39997c21d8c933ac84aac535531
parent3ddeecb12be89773eb9b5a58fa1c35fd61bf6693 (diff)
downloadFreeBSD-src-20af13d27b17ff783f532cc859a5167ecd0adb7e.zip
FreeBSD-src-20af13d27b17ff783f532cc859a5167ecd0adb7e.tar.gz
cxgbe: Switch to a better way to install firmware.
MFC after: 1 week
-rw-r--r--sys/dev/cxgbe/t4_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
index c0d38bf..0812f80 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -2037,7 +2037,7 @@ prep_firmware(struct adapter *sc)
should_install_kld_fw(sc, card_fw_usable, be32toh(kld_fw->fw_ver),
be32toh(card_fw->fw_ver))) {
- rc = -t4_load_fw(sc, fw->data, fw->datasize);
+ rc = -t4_fw_upgrade(sc, sc->mbox, fw->data, fw->datasize, 0);
if (rc != 0) {
device_printf(sc->dev,
"failed to install firmware: %d\n", rc);
OpenPOWER on IntegriCloud