Skip to content

Commit 190eda1

Browse files
Vasundhara Volamdavem330
authored andcommitted
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: 43a440c ("bnxt_en: Improve the status_reliable flag in bp->fw_health.") Signed-off-by: Vasundhara Volam <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 17e1be3 commit 190eda1

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/ethernet/broadcom/bnxt

1 file changed

+1
-0
lines changed

drivers/net/ethernet/broadcom/bnxt/bnxt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12972,6 +12972,7 @@ static int bnxt_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
1297212972
rc);
1297312973
}
1297412974

12975+
bnxt_inv_fw_health_reg(bp);
1297512976
bnxt_dl_register(bp);
1297612977

1297712978
rc = register_netdev(dev);

0 commit comments

Comments
 (0)