Skip to content

Commit 8132f54

Browse files
unicornxMingcongBai
authored andcommitted
RISCV64: SG2042: HACK: disable Warning firmware error detected FWSM: 0x00000000 from ixgbe
FIXME: maybe my PCI ethernet card need upgrade firmware. Signed-off-by: Chen Wang <[email protected]> Signed-off-by: Han Gao <[email protected]>
1 parent 324c474 commit 8132f54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8378,10 +8378,12 @@ static bool ixgbe_check_fw_error(struct ixgbe_adapter *adapter)
83788378
/* read fwsm.ext_err_ind register and log errors */
83798379
fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM(hw));
83808380

8381+
#if !defined(CONFIG_PCIE_SG2042_HACK)
83818382
if (fwsm & IXGBE_FWSM_EXT_ERR_IND_MASK ||
83828383
!(fwsm & IXGBE_FWSM_FW_VAL_BIT))
83838384
e_dev_warn("Warning firmware error detected FWSM: 0x%08X\n",
83848385
fwsm);
8386+
#endif
83858387

83868388
if (hw->mac.ops.fw_recovery_mode && hw->mac.ops.fw_recovery_mode(hw)) {
83878389
e_dev_err("Firmware recovery mode detected. Limiting functionality. Refer to the Intel(R) Ethernet Adapters and Devices User Guide for details on firmware recovery mode.\n");

0 commit comments

Comments
 (0)