Skip to content

Commit

Permalink
bnxt_en: Add support for upgrading APE/NC-SI firmware via Ethtool FLA…
Browse files Browse the repository at this point in the history
…SHDEV

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>
  • Loading branch information
Rob Swindell authored and David S. Miller committed Dec 28, 2015
1 parent edd0c2c commit 2731d70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2731d70

Please sign in to comment.