net: phy: broadcom: Allow enabling or disabling of EEE
In preparation for adding support for Wirespeed/downshift, we need to change bcm_phy_eee_enable() to allow enabling or disabling EEE, so make the function take an extra enable/disable boolean parameter and rename it to illustrate it sets EEE, not necessarily just enables it. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Этот коммит содержится в:

коммит произвёл
David S. Miller

родитель
d06f78c423
Коммит
99cec8a4dd
@@ -36,7 +36,7 @@ int bcm_phy_config_intr(struct phy_device *phydev);
|
||||
|
||||
int bcm_phy_enable_apd(struct phy_device *phydev, bool dll_pwr_down);
|
||||
|
||||
int bcm_phy_enable_eee(struct phy_device *phydev);
|
||||
int bcm_phy_set_eee(struct phy_device *phydev, bool enable);
|
||||
|
||||
int bcm_phy_downshift_get(struct phy_device *phydev, u8 *count);
|
||||
|
||||
|
Ссылка в новой задаче
Block a user