🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Andrew Lunn Fri, 13 Nov 2026 21:55
Re: [PATCH net-next 1/3] net: mdio: mdio-bcm-unimac: Define MDIO_OP_SHIFT
#16020
Author: Andrew Lunn
Date: Fri, 13 Nov 2026 21:55
17 lines
9036 bytes
On Fri, Nov 13, 2026 at 01:15:52PM -0800, Florian Fainelli wrote:
> The MDIO_CMD operation code field starts at bit 26. Define
> MDIO_OP_SHIFT for it and use it to build the opcodes instead of open
> coding the shift.
> 
> While at it, rename MDIO_RD and MDIO_WR to MDIO_RD_C22 and MDIO_WR_C22 to
> make it clear that these are the Clause 22 opcodes, in preparation for
> adding the Clause 45 ones.
> 
> No functional change.
> 
> Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads