[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zdxa5/mt84O4UMEh@shell.armlinux.org.uk>
Date: Mon, 26 Feb 2024 09:33:27 +0000
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Steffen Bätz <steffen@...osonix.de>
Cc: Fabio Estevam <festevam@...il.com>, Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net 2/2] net: dsa: mv88e6xxx: 6320/21 read cmode on
serdes ports
On Mon, Feb 26, 2024 at 10:13:24AM +0100, Steffen Bätz wrote:
> @@ -660,6 +660,16 @@ static void mv88e632x_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
>
> config->mac_capabilities = MAC_SYM_PAUSE | MAC_10 | MAC_100 |
> MAC_1000FD;
> +
> + /* Port 0/1 are serdes only ports */
> + if (port == 0 || port == 1) {
> + cmode = mv88e63xx_get_port_serdes_cmode(chip, port);
> + if (cmode < 0)
> + dev_err(chip->dev, "p%d: failed to read serdes cmode\n",
> + port);
> + else
> + mv88e6xxx_translate_cmode(cmode, supported);
> + }
Ah, ignore my comment on the other patch.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists