mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
net: stmmac/xpcs: convert to pcs_validate()
stmmac explicitly calls the xpcs driver to validate the ethtool linkmodes. This is no longer necessary as phylink now supports validation through a PCS method. Convert both drivers to use this new mechanism. Tested-by: Wong Vee Khee <vee.khee.wong@linux.intel.com> # Intel EHL Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d194923d51
commit
fe70fb74b5
@@ -31,8 +31,6 @@ void xpcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
|
||||
phy_interface_t interface, int speed, int duplex);
|
||||
int xpcs_do_config(struct dw_xpcs *xpcs, phy_interface_t interface,
|
||||
unsigned int mode);
|
||||
void xpcs_validate(struct dw_xpcs *xpcs, unsigned long *supported,
|
||||
struct phylink_link_state *state);
|
||||
void xpcs_get_interfaces(struct dw_xpcs *xpcs, unsigned long *interfaces);
|
||||
int xpcs_config_eee(struct dw_xpcs *xpcs, int mult_fact_100ns,
|
||||
int enable);
|
||||
|
||||
Reference in New Issue
Block a user