From: Andrew Lunn <andrew@lunn.ch>
To: "Frank.sae" <frank.sae@motor-comm.com>
Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, kuba@kernel.org,
pabeni@redhat.com, edumazet@kernel.org, davem@davemloft.net,
netdev@vger.kernel.org, lingyu.zou@motor-comm.com,
xiaoyong.li@motor-comm.com, jie.han@motor-comm.com
Subject: Re: [PATCH net-next v5 1/1] net: phy: motorcomm: add YT8831 2.5G PHY basic support
Date: Sun, 29 Nov 2026 17:45:13 +0100 [thread overview]
Message-ID: <7a511164-b5f4-4aa4-83b6-075d83098ac3@lunn.ch> (raw)
In-Reply-To: <20261126064622.2757584-2-frank.sae@motor-comm.com>
> +/**
> + * yt8831_config_aneg() - config auto-aneg
> + * @phydev: a pointer to a &struct phy_device
> + *
> + * Returns: 0 or negative errno code
> + */
> +static int yt8831_config_aneg(struct phy_device *phydev)
> +{
> + int ret;
> +
> + ret = genphy_config_aneg(phydev);
> + if (ret < 0)
> + return ret;
> +
> + return genphy_c45_config_aneg(phydev);
That looks odd. So you restart the autoneg twice? Are there any other
PHY drivers which do this?
Andrew
next prev parent reply other threads:[~2026-11-29 16:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 3:35 [PATCH net-next v3] net: phy: motorcomm: add YT8831 2.5G PHY support Frank.sae
2026-11-18 14:14 ` Andrew Lunn
2026-11-18 14:17 ` Andrew Lunn
2026-11-19 5:56 ` Frank.sae
2026-11-19 13:14 ` Andrew Lunn
2026-11-23 6:47 ` Frank.sae
2026-11-26 6:46 ` [PATCH net-next v5 0/1] net: phy: motorcomm: add YT8831 2.5G PHY basic support Frank.sae
2026-11-26 6:46 ` [PATCH net-next v5 1/1] " Frank.sae
2026-11-29 16:45 ` Andrew Lunn [this message]
2026-11-30 8:32 ` [PATCH net-next v6 0/1] " Frank.sae
2026-11-30 8:32 ` [PATCH net-next v6 1/1] " Frank.sae
2026-11-30 13:09 ` Andrew Lunn
2026-12-04 5:00 ` [PATCH net-next v6 0/1] " patchwork-bot+netdevbpf
2026-11-19 6:42 ` [PATCH net-next v3] net: phy: motorcomm: add YT8831 2.5G PHY support kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7a511164-b5f4-4aa4-83b6-075d83098ac3@lunn.ch \
--to=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=frank.sae@motor-comm.com \
--cc=hkallweit1@gmail.com \
--cc=jie.han@motor-comm.com \
--cc=kuba@kernel.org \
--cc=lingyu.zou@motor-comm.com \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=xiaoyong.li@motor-comm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox