From: Andrew Lunn <andrew@lunn.ch>
To: "Marek Behún" <kabel@kernel.org>
Cc: Daniel Pawlik <pawlik.dan@gmail.com>,
hkallweit1@gmail.com, linux@armlinux.org.uk,
netdev@vger.kernel.org, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
pabeni@redhat.com, horms@kernel.org, petr.wozniak@gmail.com,
maxime.chevallier@bootlin.com, olek2@wp.pl
Subject: Re: [PATCH net-next v4 2/2] net: sfp: skip PHY probe on bridge-less OEM SFP-10G-T revisions A and B
Date: Tue, 24 Nov 2026 18:38:39 +0100 [thread overview]
Message-ID: <20c5e53b-e2f5-45c2-9d64-d279cb884870@lunn.ch> (raw)
In-Reply-To: <awWkbH3O8IrMYiSF@solitude>
On Tue, Nov 24, 2026 at 04:09:21PM +0100, Marek Behún wrote:
> It would be much better to somehow check for RollBall protocol.
>
> For example by trying one mdio read before probing PHY in
> sfp_sm_probe_for_phy():
>
> case MDIO_I2C_ROLLBALL:
> err = sfp_sm_probe_phy(sfp, SFP_PHY_ADDR_ROLLBALL, true);
> break;
>
> change to:
>
> case MDIO_I2C_ROLLBALL:
> err = mdiobus_c45_read(sfp->i2c_mii, SFP_PHY_ADDR_ROLLBALL, 1, 0);
nitpick: MDIO_MMD_PMAPMD, MDIO_CTRL1
Andrew
next prev parent reply other threads:[~2026-11-24 17:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 9:12 [PATCH net-next v4 0/2] net: sfp: skip PHY probe on bridge-less OEM SFP-10G-T Daniel Pawlik
2026-11-21 9:12 ` [PATCH net-next v4 1/2] net: sfp: move sfp_strlen() above the quirk fixups Daniel Pawlik
2026-11-21 9:12 ` [PATCH net-next v4 2/2] net: sfp: skip PHY probe on bridge-less OEM SFP-10G-T revisions A and B Daniel Pawlik
2026-11-21 18:03 ` Andrew Lunn
2026-11-24 15:09 ` Marek Behún
2026-11-24 17:38 ` Andrew Lunn [this message]
2026-11-24 17:56 ` Daniel Pawlik
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=20c5e53b-e2f5-45c2-9d64-d279cb884870@lunn.ch \
--to=andrew@lunn.ch \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=hkallweit1@gmail.com \
--cc=horms@kernel.org \
--cc=kabel@kernel.org \
--cc=kuba@kernel.org \
--cc=linux@armlinux.org.uk \
--cc=maxime.chevallier@bootlin.com \
--cc=netdev@vger.kernel.org \
--cc=olek2@wp.pl \
--cc=pabeni@redhat.com \
--cc=pawlik.dan@gmail.com \
--cc=petr.wozniak@gmail.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