net: pcs: Introducing support for DWC xpcs Energy Efficient Ethernet
Add DWC xpcs EEE support callbacks.The callback function is used to set EEE registers on xpcs. xpcs transparent mode is enabled to allow PHY to detect MAC EEE status. Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
9d8a29aed0
commit
7617af3d1a
@@ -32,6 +32,8 @@ struct mdio_xpcs_ops {
|
||||
int (*link_up)(struct mdio_xpcs_args *xpcs, int speed,
|
||||
phy_interface_t interface);
|
||||
int (*probe)(struct mdio_xpcs_args *xpcs, phy_interface_t interface);
|
||||
int (*config_eee)(struct mdio_xpcs_args *xpcs, int mult_fact_100ns,
|
||||
int enable);
|
||||
};
|
||||
|
||||
#if IS_ENABLED(CONFIG_PCS_XPCS)
|
||||
|
||||
Reference in New Issue
Block a user