svn commit: r250221 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Fri May 3 20:09:18 UTC 2013
Author: np
Date: Fri May 3 20:09:17 2013
New Revision: 250221
URL: http://svnweb.freebsd.org/changeset/base/250221
Log:
cxgbe: Switch to a better way to install firmware.
MFC after: 1 week
Modified:
head/sys/dev/cxgbe/t4_main.c
Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c Fri May 3 19:08:58 2013 (r250220)
+++ head/sys/dev/cxgbe/t4_main.c Fri May 3 20:09:17 2013 (r250221)
@@ -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);
More information about the svn-src-all
mailing list