summaryrefslogtreecommitdiffstats
path: root/kernel/drivers
diff options
context:
space:
mode:
authorYunhong Jiang <yunhong.jiang@linux.intel.com>2016-08-19 05:24:00 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-19 05:24:00 +0000
commitb1c117f1c8414bddbe4370414590f5f0b62ae4d1 (patch)
tree864512d50a1045bffdb410d69e2d22b78e79a2fe /kernel/drivers
parent58dd8c7ebe4a964adf19e83bbd3e24f84ec67fdb (diff)
parente80e15b7f10f41563c4e53abf1ab221dc6d72be1 (diff)
Merge "bnxt_en: Request firmware reset after successful firwmare update"
Diffstat (limited to 'kernel/drivers')
-rw-r--r--kernel/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c b/kernel/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
index e33b6d667..e680442cc 100644
--- a/kernel/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
+++ b/kernel/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
@@ -824,6 +824,8 @@ static int bnxt_firmware_reset(struct net_device *dev,
case BNX_DIR_TYPE_APE_FW:
case BNX_DIR_TYPE_APE_PATCH:
req.embedded_proc_type = FW_RESET_REQ_EMBEDDED_PROC_TYPE_MGMT;
+ /* Self-reset APE upon next PCIe reset: */
+ req.selfrst_status = FW_RESET_REQ_SELFRST_STATUS_SELFRSTPCIERST;
break;
case BNX_DIR_TYPE_KONG_FW:
case BNX_DIR_TYPE_KONG_PATCH: