diff options
author | Rob Swindell <swindell@broadcom.com> | 2015-12-27 18:19:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-28 00:57:28 -0500 |
commit | 2731d70fa9cbb62e45743171bf979784fb36778c (patch) | |
tree | 106f3686d89a7f8c2e832af1e781c50abebc5a01 /drivers | |
parent | edd0c2cc2b73ff21f356d6cbd3b5bf83e692ea9d (diff) | |
download | linux-2731d70fa9cbb62e45743171bf979784fb36778c.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c index 45bd628eaf3a..ea94450ab91e 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c @@ -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); |