diff options
author | Michael Chan <michael.chan@broadcom.com> | 2016-04-05 14:08:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-05 16:20:46 -0400 |
commit | 939f7f0ca442187db2a4ec7a40979c711b0c939e (patch) | |
tree | 8cba1e2a630789a9122eec86460644d62d482bdf /drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h | |
parent | 170ce01301a2a1a87808765531d938fa0b023641 (diff) | |
download | linux-939f7f0ca442187db2a4ec7a40979c711b0c939e.tar.gz linux-939f7f0ca442187db2a4ec7a40979c711b0c939e.tar.bz2 linux-939f7f0ca442187db2a4ec7a40979c711b0c939e.zip |
bnxt_en: Add EEE setup code.
1. Add bnxt_hwrm_set_eee() function to setup EEE firmware parameters based
on the bp->eee settings.
2. The new function bnxt_eee_config_ok() will check if EEE parameters need
to be modified due to autoneg changes.
3. bnxt_hwrm_set_link() has added a new parameter to update EEE. If the
parameter is set, it will call bnxt_hwrm_set_eee().
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h b/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h index e061f8f7a3ae..3abc03b60dbc 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h @@ -14,5 +14,6 @@ extern const struct ethtool_ops bnxt_ethtool_ops; u32 _bnxt_fw_to_ethtool_adv_spds(u16, u8); u32 bnxt_fw_to_ethtool_speed(u16); +u16 bnxt_get_fw_auto_link_speeds(u32); #endif |