mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
bnxt_en: Update firmware interface to 1.9.0.
The version has new firmware APIs to allocate PF/VF resources more flexibly. New toolchains were used to generate this file, resulting in a one-time large diffstat. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ee81098efe
commit
894aa69a90
@ -1,7 +1,7 @@
|
||||
/* Broadcom NetXtreme-C/E network driver.
|
||||
*
|
||||
* Copyright (c) 2014-2016 Broadcom Corporation
|
||||
* Copyright (c) 2016-2017 Broadcom Limited
|
||||
* Copyright (c) 2016-2018 Broadcom Limited
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -4938,23 +4938,24 @@ static int bnxt_hwrm_ver_get(struct bnxt *bp)
|
||||
|
||||
memcpy(&bp->ver_resp, resp, sizeof(struct hwrm_ver_get_output));
|
||||
|
||||
bp->hwrm_spec_code = resp->hwrm_intf_maj << 16 |
|
||||
resp->hwrm_intf_min << 8 | resp->hwrm_intf_upd;
|
||||
if (resp->hwrm_intf_maj < 1) {
|
||||
bp->hwrm_spec_code = resp->hwrm_intf_maj_8b << 16 |
|
||||
resp->hwrm_intf_min_8b << 8 |
|
||||
resp->hwrm_intf_upd_8b;
|
||||
if (resp->hwrm_intf_maj_8b < 1) {
|
||||
netdev_warn(bp->dev, "HWRM interface %d.%d.%d is older than 1.0.0.\n",
|
||||
resp->hwrm_intf_maj, resp->hwrm_intf_min,
|
||||
resp->hwrm_intf_upd);
|
||||
resp->hwrm_intf_maj_8b, resp->hwrm_intf_min_8b,
|
||||
resp->hwrm_intf_upd_8b);
|
||||
netdev_warn(bp->dev, "Please update firmware with HWRM interface 1.0.0 or newer.\n");
|
||||
}
|
||||
snprintf(bp->fw_ver_str, BC_HWRM_STR_LEN, "%d.%d.%d.%d",
|
||||
resp->hwrm_fw_maj, resp->hwrm_fw_min, resp->hwrm_fw_bld,
|
||||
resp->hwrm_fw_rsvd);
|
||||
resp->hwrm_fw_maj_8b, resp->hwrm_fw_min_8b,
|
||||
resp->hwrm_fw_bld_8b, resp->hwrm_fw_rsvd_8b);
|
||||
|
||||
bp->hwrm_cmd_timeout = le16_to_cpu(resp->def_req_timeout);
|
||||
if (!bp->hwrm_cmd_timeout)
|
||||
bp->hwrm_cmd_timeout = DFLT_HWRM_CMD_TIMEOUT;
|
||||
|
||||
if (resp->hwrm_intf_maj >= 1)
|
||||
if (resp->hwrm_intf_maj_8b >= 1)
|
||||
bp->hwrm_max_req_len = le16_to_cpu(resp->max_req_win_len);
|
||||
|
||||
bp->chip_num = le16_to_cpu(resp->chip_num);
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* Broadcom NetXtreme-C/E network driver.
|
||||
*
|
||||
* Copyright (c) 2014-2016 Broadcom Corporation
|
||||
* Copyright (c) 2016-2017 Broadcom Limited
|
||||
* Copyright (c) 2016-2018 Broadcom Limited
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -12,10 +12,10 @@
|
||||
#define BNXT_H
|
||||
|
||||
#define DRV_MODULE_NAME "bnxt_en"
|
||||
#define DRV_MODULE_VERSION "1.8.0"
|
||||
#define DRV_MODULE_VERSION "1.9.0"
|
||||
|
||||
#define DRV_VER_MAJ 1
|
||||
#define DRV_VER_MIN 8
|
||||
#define DRV_VER_MIN 9
|
||||
#define DRV_VER_UPD 0
|
||||
|
||||
#include <linux/interrupt.h>
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user