[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211013034128.2094426-3-boon.leong.ong@intel.com>
Date: Wed, 13 Oct 2021 11:41:28 +0800
From: Ong Boon Leong <boon.leong.ong@...el.com>
To: Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH net-next 2/2] net: phy: dp83867: add generic PHY loopback
From: "Lay, Kuan Loon" <kuan.loon.lay@...el.com>
TI DP83867 supports loopback enabled using BMCR, so we add
genphy_loopback to the phy driver.
Tested-by: Clement <clement@...el.com>
Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@...el.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@...el.com>
---
drivers/net/phy/dp83867.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c
index bb4369b75179..af47c62d6e04 100644
--- a/drivers/net/phy/dp83867.c
+++ b/drivers/net/phy/dp83867.c
@@ -878,6 +878,7 @@ static struct phy_driver dp83867_driver[] = {
.suspend = genphy_suspend,
.resume = genphy_resume,
+ .set_loopback = genphy_loopback,
},
};
module_phy_driver(dp83867_driver);
--
2.25.1
Powered by blists - more mailing lists