bnxt_en: Rediscover PHY capabilities after firmware reset
authorMichael Chan <michael.chan@broadcom.com>
Fri, 18 Jun 2021 06:07:25 +0000 (02:07 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jun 2021 19:00:27 +0000 (12:00 -0700)
commit0afd6a4e8028cc487c240b6cfe04094e45a306e4
tree0a4ed40c9cd417ceacb51677f0a859650f121589
parent39eb028183bc7378bb6187067e20bf6d8c836407
bnxt_en: Rediscover PHY capabilities after firmware reset

There is a missing bnxt_probe_phy() call in bnxt_fw_init_one() to
rediscover the PHY capabilities after a firmware reset.  This can cause
some PHY related functionalities to fail after a firmware reset.  For
example, in multi-host, the ability for any host to configure the PHY
settings may be lost after a firmware reset.

Fixes: ec5d31e3c15d ("bnxt_en: Handle firmware reset status during IF_UP.")
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