Re: [PATCH net-next v3 2/4] net: phy: c45: add genphy_c45_an_setup_master_slave()
From: Nicolai Buchwitz
Date: Fri Jun 05 2026 - 05:04:39 EST
On 5.6.2026 09:43, javen wrote:
From: Javen Xu <javen_xu@xxxxxxxxxxxxxx>
Add a generic helper to configure forced master/slave mode for Clause 45
PHYs using the 10GBASE-T AN control register.
Signed-off-by: Javen Xu <javen_xu@xxxxxxxxxxxxxx>
---
Changes in v2:
- no changes, new file
Changes in v3:
- re-order function according to the order in phy-c45.c
- add kernel-doc about return value
- add MASTER_SLAVE_CFG_MASTER_PREFERRED,
MASTER_SLAVE_CFG_SLAVE_PREFERRED, MASTER_SLAVE_CFG_UNKNOWN,
MASTER_SLAVE_CFG_UNSUPPORTED, MASTER_SLAVE_CFG_SLAVE_PREFERRED cfg
[...]
Reviewed-by: Nicolai Buchwitz <nb@xxxxxxxxxxx>
Thanks,
Nicolai