mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02:00
drivers/net/phy: add connection between ethtool and phylib for PLCA
This patch adds the required connection between netlink ethtool and phylib to resolve PLCA get/set config and get status messages. Signed-off-by: Piergiorgio Beruto <piergiorgio.beruto@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
16178c8ef5
commit
a23a1e57a6
@@ -1851,6 +1851,13 @@ int phy_ethtool_get_strings(struct phy_device *phydev, u8 *data);
|
||||
int phy_ethtool_get_sset_count(struct phy_device *phydev);
|
||||
int phy_ethtool_get_stats(struct phy_device *phydev,
|
||||
struct ethtool_stats *stats, u64 *data);
|
||||
int phy_ethtool_get_plca_cfg(struct phy_device *phydev,
|
||||
struct phy_plca_cfg *plca_cfg);
|
||||
int phy_ethtool_set_plca_cfg(struct phy_device *phydev,
|
||||
const struct phy_plca_cfg *plca_cfg,
|
||||
struct netlink_ext_ack *extack);
|
||||
int phy_ethtool_get_plca_status(struct phy_device *phydev,
|
||||
struct phy_plca_status *plca_st);
|
||||
|
||||
static inline int phy_package_read(struct phy_device *phydev, u32 regnum)
|
||||
{
|
||||
|
Reference in New Issue
Block a user