aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt.h
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2019-11-23 22:30:47 -0500
committerJakub Kicinski <jakub.kicinski@netronome.com>2019-11-24 14:48:02 -0800
commit8119e49b68fa1ec778f9ec8be05b5492046100b2 (patch)
treeba65ca4fd7343ce4f87836f31bb2a672e24edea0 /drivers/net/ethernet/broadcom/bnxt/bnxt.h
parentbnxt_en: Skip disabling autoneg before PHY loopback when appropriate. (diff)
downloadlinux-dev-8119e49b68fa1ec778f9ec8be05b5492046100b2.tar.xz
linux-dev-8119e49b68fa1ec778f9ec8be05b5492046100b2.zip
bnxt_en: Refactor the initialization of the ethtool link settings.
Refactor this logic in bnxt_probe_phy() into a separate function bnxt_init_ethtool_link_settings(). It used to be that the settable link settings will never be changed without going through ethtool. So we only needed to do this once in bnxt_probe_phy(). Now, another function sharing the port may change it and we may need to re-initialize the ethtool settings again in run-time. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt.h')
0 files changed, 0 insertions, 0 deletions