From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: "Pablo D. Bergamasco" <danpablo@gmail.com>
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [QUESTION] staging: octeon: is the FIXME in cvm_oct_sgmii_init stale?
Date: Thu, 18 Jun 2026 12:26:35 +0200 [thread overview]
Message-ID: <2026061820-unshaved-pajamas-4b64@gregkh> (raw)
In-Reply-To: <20260617210743.1825733-1-danpablo@gmail.com>
On Wed, Jun 17, 2026 at 06:07:43PM -0300, Pablo D. Bergamasco wrote:
> Hi Greg,
>
> While looking at drivers/staging/octeon/ethernet-sgmii.c I noticed
> a FIXME comment in cvm_oct_sgmii_init():
>
> cvm_oct_common_init(dev);
> /* FIXME: Need autoneg logic */
> return 0;
>
> After tracing the code, I believe autoneg is already handled when
> the interface is opened:
>
> cvm_oct_sgmii_open()
> -> cvm_oct_common_open()
> -> cvm_oct_phy_setup_device()
> -> phy_start()
> -> phy_state_machine()
> -> _phy_start_aneg()
> -> genphy_config_aneg()
>
> Is my analysis correct? If so, should I send a patch to remove
> the stale FIXME comment?
I have no idea, sorry, test it out on the hardware and see!
thanks,
greg k-h
prev parent reply other threads:[~2026-06-18 10:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-17 21:07 [QUESTION] staging: octeon: is the FIXME in cvm_oct_sgmii_init stale? Pablo D. Bergamasco
2026-06-18 10:26 ` Greg Kroah-Hartman [this message]
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=2026061820-unshaved-pajamas-4b64@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=danpablo@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/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