commit | 0d8abf020199b0cbc5fb3aa309d36f0ac1b91631 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Wed Feb 10 17:33:47 2016 -0500 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 16 15:50:01 2016 -0500 |
tree | 4388c77c940a33c74c1950861f4c5adf1eb4a089 | |
parent | b763499ee16b74707af0fb26ab0a26bd9719870b [diff] |
bnxt_en: Cleanup and Fix flow control setup logic Cleanup bnxt_probe_phy() to cleanly separate 2 code blocks for autoneg on and off. Autoneg flow control is possible only if autoneg is enabled. In bnxt_get_settings(), Pause and Asym_Pause are always supported. Only the advertisement bits change depending on the ethtool -A setting in auto mode. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>