bnxt_en: Add support for upgrading APE/NC-SI firmware via Ethtool FLASHDEV
NC-SI firmware of type apeFW (10) is now supported. Signed-off-by: Rob Swindell <swindell@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
edd0c2cc2b
Коммит
2731d70fa9
|
@ -818,6 +818,9 @@ static int bnxt_flash_firmware(struct net_device *dev,
|
||||||
case BNX_DIR_TYPE_BOOTCODE_2:
|
case BNX_DIR_TYPE_BOOTCODE_2:
|
||||||
code_type = CODE_BOOT;
|
code_type = CODE_BOOT;
|
||||||
break;
|
break;
|
||||||
|
case BNX_DIR_TYPE_APE_FW:
|
||||||
|
code_type = CODE_MCTP_PASSTHRU;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
netdev_err(dev, "Unsupported directory entry type: %u\n",
|
netdev_err(dev, "Unsupported directory entry type: %u\n",
|
||||||
dir_type);
|
dir_type);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче