bnxt_en: Invalidate health register mapping at the end of probe.
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Mon, 12 Apr 2021 00:18:12 +0000 (20:18 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Apr 2021 20:20:38 +0000 (13:20 -0700)
commit190eda1a9dbc47409073bec79b81f362e21973b6
treef240f20f4c3eff6e60ebce028825dabd26c6ab5d
parent17e1be342d46eb0b7c3df4c7e623493483080b63
bnxt_en: Invalidate health register mapping at the end of probe.

After probe is successful, interface may not be bought up in all
the cases and health register mapping could be invalid if firmware
undergoes reset. Fix it by invalidating the health register at the
end of probe. It will be remapped during ifup.

Fixes: 43a440c4007b ("bnxt_en: Improve the status_reliable flag in bp->fw_health.")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@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