| 5206 | } |
| 5207 | |
| 5208 | static void bnxt_check_fw_status(struct bnxt *bp) |
| 5209 | { |
| 5210 | uint32_t fw_status; |
| 5211 | |
| 5212 | if (!(bp->recovery_info && |
| 5213 | (bp->fw_cap & BNXT_FW_CAP_HCOMM_FW_STATUS))) |
| 5214 | return; |
| 5215 | |
| 5216 | fw_status = bnxt_read_fw_status_reg(bp, BNXT_FW_STATUS_REG); |
| 5217 | if (fw_status != BNXT_FW_STATUS_HEALTHY) |
| 5218 | PMD_DRV_LOG(ERR, "Firmware not responding, status: %#x\n", |
| 5219 | fw_status); |
| 5220 | } |
| 5221 | |
| 5222 | static int bnxt_map_hcomm_fw_status_reg(struct bnxt *bp) |
| 5223 | { |
no test coverage detected