mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
cxgbe: Switch to a better way to install firmware.
MFC after: 1 week
This commit is contained in:
parent
dfa66c01ae
commit
959cbee5b0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue