On Mon, 2026-09-07 at 11:56 +0200, Nora Schiffer wrote:
> Actually pass the register number and not the PHY address to
> phy_[read,write]_mmd.
>
> Fixes: 614ebea14bfc ("net: phy: dp83867: enable extended read / write for
> driver")
> Signed-off-by: Nora Schiffer <[email protected]>
Hi,
can we get this patch applied?
Best,
Nora
> ---
> drivers/net/phy/dp83867.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c
> index 34c871857e1..f100ef35a43 100644
> --- a/drivers/net/phy/dp83867.c
> +++ b/drivers/net/phy/dp83867.c
> @@ -131,7 +131,7 @@ static int dp83867_phy_extread(struct phy_device *phydev,
> {
> if (devad != DP83867_DEVADDR)
> return -EINVAL;
> - return phy_read_mmd(phydev, devad, addr);
> + return phy_read_mmd(phydev, devad, reg);
> };
>
> static int dp83867_phy_extwrite(struct phy_device *phydev, int addr,
> @@ -139,7 +139,7 @@ static int dp83867_phy_extwrite(struct phy_device
> *phydev, int addr,
> {
> if (devad != DP83867_DEVADDR)
> return -EINVAL;
> - return phy_write_mmd(phydev, devad, addr, (u32)val);
> + return phy_write_mmd(phydev, devad, reg, (u32)val);
> };
>
> static int dp83867_config_port_mirroring(struct phy_device *phydev)
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
https://www.tq-group.com/