bnxt_en: log firmware status on firmware init failure
authorEdwin Peer <edwin.peer@broadcom.com>
Sun, 4 Oct 2020 19:22:53 +0000 (15:22 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Oct 2020 21:41:05 +0000 (14:41 -0700)
commitba02629ff6cbadce2c6452a4942ccacef658e5c0
tree70f3309542987158659f484e2c68c56c36b31f7d
parent3e9ec2bb932d746b0ae65aba79697457e7c83f90
bnxt_en: log firmware status on firmware init failure

Firmware now supports device independent discovery of the status
register location. This status register can provide more detailed
information about firmware errors, especially if problems occur
before the HWRM interface is functioning. Attempt to map this
register if it is present and report the firmware status on firmware
init failures.

Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h