OSDN Git Service

bnxt_en: Add async. event logic for PHY configuration changes.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 24 Nov 2019 03:30:48 +0000 (22:30 -0500)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sun, 24 Nov 2019 22:48:02 +0000 (14:48 -0800)
commitb1613e78e98d065fd3356d0b93df665b0740f652
treeb25625ad3e2fea1fc63c77a793b09a8e2118fca5
parent8119e49b68fa1ec778f9ec8be05b5492046100b2
bnxt_en: Add async. event logic for PHY configuration changes.

If the link settings have been changed by another function sharing the
port, firmware will send us an async. message.  In response, we will
call the new bnxt_init_ethtool_link_settings() function to update
the current settings.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h