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:
Rob Swindell 2015-12-27 18:19:20 -05:00 committed by David S. Miller
parent edd0c2cc2b
commit 2731d70fa9
1 changed files with 3 additions and 0 deletions

View File

@ -818,6 +818,9 @@ static int bnxt_flash_firmware(struct net_device *dev,
case BNX_DIR_TYPE_BOOTCODE_2:
code_type = CODE_BOOT;
break;
case BNX_DIR_TYPE_APE_FW:
code_type = CODE_MCTP_PASSTHRU;
break;
default:
netdev_err(dev, "Unsupported directory entry type: %u\n",
dir_type);