1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

cxgbe: Switch to a better way to install firmware.

MFC after:	1 week
This commit is contained in:
Navdeep Parhar 2013-05-03 20:09:17 +00:00
parent dfa66c01ae
commit 959cbee5b0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250221

View File

@ -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);