mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
net: phy: qcom: qca807x: Enable WoL support using shared library
The Wake-on-LAN (WoL) functionality for the QCA807x series is identical to that of the AT8031. WoL support for QCA807x is enabled by utilizing the at8031_set_wol() function provided in the shared library. Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: Luo Jie <quic_luoj@quicinc.com> Link: https://patch.msgid.link/20250718-qca807x_wol_support-v1-1-cfe323cbb4e8@quicinc.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
c521b8c9f2
commit
14e710d708
|
|
@ -823,6 +823,8 @@ static struct phy_driver qca807x_drivers[] = {
|
|||
.cable_test_get_status = qca808x_cable_test_get_status,
|
||||
.update_stats = qca807x_update_stats,
|
||||
.get_phy_stats = qca807x_get_phy_stats,
|
||||
.set_wol = at8031_set_wol,
|
||||
.get_wol = at803x_get_wol,
|
||||
},
|
||||
{
|
||||
PHY_ID_MATCH_EXACT(PHY_ID_QCA8075),
|
||||
|
|
@ -848,6 +850,8 @@ static struct phy_driver qca807x_drivers[] = {
|
|||
.led_hw_control_get = qca807x_led_hw_control_get,
|
||||
.update_stats = qca807x_update_stats,
|
||||
.get_phy_stats = qca807x_get_phy_stats,
|
||||
.set_wol = at8031_set_wol,
|
||||
.get_wol = at803x_get_wol,
|
||||
},
|
||||
};
|
||||
module_phy_driver(qca807x_drivers);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user