diff options
author | Michael Chan <mchan@broadcom.com> | 2016-02-11 01:33:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-16 23:50:01 +0300 |
commit | b763499ee16b74707af0fb26ab0a26bd9719870b (patch) | |
tree | bb056c7adca1d54aa8f9e2ba31df126cd6b2829e /CREDITS | |
parent | 56bb7fd994f4cc163de08006bf68d959027a9f36 (diff) | |
download | linux-b763499ee16b74707af0fb26ab0a26bd9719870b.tar.xz |
bnxt_en: Fix ethtool autoneg logic.
1. Determine autoneg on|off setting from link_info->autoneg. Using the
firmware returned setting can be misleading if autoneg is changed and
there hasn't been a phy update from the firmware.
2. If autoneg is disabled, link_info->autoneg should be set to 0 to
indicate both speed and flow control autoneg are disabled.
3. To enable autoneg flow control, speed autoneg must be enabled.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions