Skip to contentSkip to conversation

net: phy: LAN937x: added PHY_POLL_CABLE_TEST flag

PATCH Applied Arun Ramadoss 2 participants 2 messages Apr 13, 2022 – Apr 15, 2022

Subsystems (4)
lore
Share & tools
lore

Arun Ramadoss

author maintainer
#0 lore raw

PATCH 1/1 net: phy: LAN937x: added PHY_POLL_CABLE_TEST flag

Added the phy_poll_cable_test flag for the lan937x phy driver. Tested using command - ethtool --cable-test <dev>

Fixes 680baca546f2 ("net: phy: added the LAN937x phy support")
---
 drivers/net/phy/microchip_t1.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/phy/microchip_t1.c +1 -0
index 389df3f4293c..363bfbfa182b 100644
@@ -748,6 +748,7 @@ static struct phy_driver microchip_t1_phy_driver[] = {
 	{
 		PHY_ID_MATCH_MODEL(PHY_ID_LAN937X),
 		.name		= "Microchip LAN937x T1",
+		.flags          = PHY_POLL_CABLE_TEST,
 		.features	= PHY_BASIC_T1_FEATURES,
 		.config_init	= lan87xx_config_init,
 		.suspend	= genphy_suspend,

base-commit: f45ba67eb74ab4b775616af731bdf8944afce3f1

Signature · 1 line
2.33.0
#1 lore raw
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:

Quoted 8 lines · On Wed, 13 Apr 2022 12:44:09 +0530 you wrote:

Added the phy_poll_cable_test flag for the lan937x phy driver. Tested using command - ethtool --cable-test <dev>

Fixes 680baca546f2 ("net: phy: added the LAN937x phy support")

[...]

Here is the summary with links:
- [net] net: phy: LAN937x: added PHY_POLL_CABLE_TEST flag

    https://git.kernel.org/netdev/net/c/6f06aa6b2fd7

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html