From: Jakub Kicinski <kuba@kernel.org>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: "David S. Miller" <davem@davemloft.net>,
Andrew Lunn <andrew@lunn.ch>, Eric Dumazet <edumazet@google.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Paolo Abeni <pabeni@redhat.com>,
Vladimir Oltean <olteanv@gmail.com>,
Woojung Huh <woojung.huh@microchip.com>,
"Russell King (Oracle)" <linux@armlinux.org.uk>,
Heiner Kallweit <hkallweit1@gmail.com>,
stable@vger.kernel.org, kernel@pengutronix.de,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
UNGLinuxDriver@microchip.com
Subject: Re: [PATCH net v3 1/2] net: dsa: microchip: let phylink manage PHY EEE configuration on KSZ switches
Date: Tue, 29 Apr 2025 09:14:33 -0700 [thread overview]
Message-ID: <20250429091433.7a4e8aaa@kernel.org> (raw)
In-Reply-To: <20250429073644.2987282-2-o.rempel@pengutronix.de>
On Tue, 29 Apr 2025 09:36:43 +0200 Oleksij Rempel wrote:
> switch (dev->chip_id) {
> case KSZ8563_CHIP_ID:
> + case KSZ9563_CHIP_ID:
> + case KSZ9893_CHIP_ID:
> + return true;
> case KSZ8567_CHIP_ID:
> + /* KSZ8567R Errata DS80000752C Module 4 */
> + case KSZ8765_CHIP_ID:
> + case KSZ8794_CHIP_ID:
> + case KSZ8795_CHIP_ID:
> + /* KSZ879x/KSZ877x/KSZ876x Errata DS80000687C Module 2 */
> case KSZ9477_CHIP_ID:
> - case KSZ9563_CHIP_ID:
> + /* KSZ9477S Errata DS80000754A Module 4 */
> case KSZ9567_CHIP_ID:
> - case KSZ9893_CHIP_ID:
> + /* KSZ9567S Errata DS80000756A Module 4 */
> case KSZ9896_CHIP_ID:
> + /* KSZ9896C Errata DS80000757A Module 3 */
> case KSZ9897_CHIP_ID:
> case LAN9646_CHIP_ID:
> - return true;
> + /* KSZ9897R Errata DS80000758C Module 4 */
> + /* Energy Efficient Ethernet (EEE) feature select must be
> + * manually disabled
> + * The EEE feature is enabled by default, but it is not fully
> + * operational. It must be manually disabled through register
> + * controls. If not disabled, the PHY ports can auto-negotiate
> + * to enable EEE, and this feature can cause link drops when
> + * linked to another device supporting EEE.
> + *
> + * The same item appears in the errata for all switches above.
> + */
> }
compilers are not on board with having labels right before the closing
bracket. Please add a 'break;' here?
drivers/net/dsa/microchip/ksz_common.c:3565:9: warning: statement expected after case label
reminder: we have a 24h cool down period between reposts
--
pv-bot: 24h
pw-bot: cr
next prev parent reply other threads:[~2025-04-29 16:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-29 7:36 [PATCH net v3 0/2] address EEE regressions on KSZ switches since v6.9 (v6.14+) Oleksij Rempel
2025-04-29 7:36 ` [PATCH net v3 1/2] net: dsa: microchip: let phylink manage PHY EEE configuration on KSZ switches Oleksij Rempel
2025-04-29 16:14 ` Jakub Kicinski [this message]
2025-04-29 7:36 ` [PATCH net v3 2/2] net: phy: micrel: remove KSZ9477 EEE quirks now handled by phylink Oleksij Rempel
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=20250429091433.7a4e8aaa@kernel.org \
--to=kuba@kernel.org \
--cc=UNGLinuxDriver@microchip.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=stable@vger.kernel.org \
--cc=woojung.huh@microchip.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;
as well as URLs for NNTP newsgroup(s).