Kalesh AP f02ea89fcb net/bnxt: log firmware status on early init failure
Firmware reports any fatal error (either ASIC or Firmware related) via a
new status register. This status register can provide more detailed
information about the firmware errors, especially if error occurs before
HWRM_VER_GET is issued. Attempt to map this register if it is present
and check for firmware status when VER_GET command fails.

Refactored the code to allocate the "bp->recovery_info" structure
in bnxt_init_fw() instead of doing in bnxt_hwrm_error_recovery_qcfg().

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2020-04-22 13:41:24 +02:00
..
2020-04-22 13:41:24 +02:00
2020-04-21 13:57:09 +02:00
2020-02-05 09:51:19 +01:00
2019-11-08 23:15:04 +01:00
2019-10-08 12:14:32 +02:00
2020-04-21 13:57:08 +02:00
2020-04-16 18:30:58 +02:00
2019-10-08 12:14:32 +02:00
2019-11-08 23:15:04 +01:00
2020-04-21 13:57:09 +02:00
2020-04-21 13:57:09 +02:00