]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: Add MDIO_PMA_CTRL1_SPEED for 2.5G and 5G to reflect PMA values
authorAlexander Duyck <alexanderduyck@fb.com>
Fri, 21 Nov 2025 16:39:55 +0000 (08:39 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 27 Nov 2025 09:41:30 +0000 (10:41 +0100)
commite6c43c95009035a63091cd49736886f883127510
treebe930d443ab29835feed3a2ae87863b1c7a43c79
parentf93505f35745637b6d94efe8effa97ef26819784
net: phy: Add MDIO_PMA_CTRL1_SPEED for 2.5G and 5G to reflect PMA values

The 2.5G and 5G values are not consistent between the PCS CTRL1 and PMA
CTRL1 values. In order to avoid confusion between the two I am updating the
values to include "PMA" in the name similar to values used in similar
places.

To avoid breaking UAPI I have retained the original macros and just defined
them as the new PMA based defines.

Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Link: https://patch.msgid.link/176374319569.959489.6610469879021800710.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/phy-c45.c
include/uapi/linux/mdio.h