[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZK+hBhMCAxLb7RgV@shell.armlinux.org.uk>
Date: Thu, 13 Jul 2023 08:00:22 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Stefan Eichenberger <eichest@...il.com>
Cc: netdev@...r.kernel.org, andrew@...n.ch, hkallweit1@...il.com,
francesco.dolcini@...adex.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next v2 4/4] net: phy: marvell-88q2xxx: add driver
for the Marvell 88Q2110 PHY
On Mon, Jul 10, 2023 at 10:59:00PM +0200, Stefan Eichenberger wrote:
> + /* The 88Q2XXX PHYs do not have the PMA/PMD status register available,
> + * therefore we need to read the link status from the vendor specific
> + * registers.
> + */
> + if (phydev->speed == SPEED_1000) {
> + /* Read twice to clear the latched status */
> + ret1 = phy_read_mmd(phydev, MDIO_MMD_PCS, MDIO_PCS_1000BT1_STAT);
> + ret1 = phy_read_mmd(phydev, MDIO_MMD_PCS, MDIO_PCS_1000BT1_STAT);
Please address my comment on this from v1, sent today.
(Sorry it's late, but I've been on vacation since the start of July...
which has now been disrupted. Presently "stuck" out on the English
canals in beautiful countryside due to a lock failure, waiting for it
to be repaired! :D Then I'll be taking the remainder of the vacation
because I'll again be moving the boat!)
--
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