forked from Minki/linux
939f7f0ca4
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>
20 lines
501 B
C
20 lines
501 B
C
/* Broadcom NetXtreme-C/E network driver.
|
|
*
|
|
* Copyright (c) 2014-2016 Broadcom Corporation
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef BNXT_ETHTOOL_H
|
|
#define BNXT_ETHTOOL_H
|
|
|
|
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
|