History

net: phy: add constants for 2.5G and 5G speed in PCS speed register

Add constants for 2.5G and 5G speed in PCS speed register into mdio.h.

Marek Behún committed 5 years ago

Commit 53f111c1 parent c89f27d1 file · +2 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/mdio.h+2−0
@@ -120,6 +120,8 @@ · 119 unmodified lines
120120 #define MDIO_PMA_SPEED_100 0x0020 /* 100M capable */
121121 #define MDIO_PMA_SPEED_10 0x0040 /* 10M capable */
122122 #define MDIO_PCS_SPEED_10P2B 0x0002 /* 10PASS-TS/2BASE-TL capable */
123+#define MDIO_PCS_SPEED_2_5G 0x0040 /* 2.5G capable */
124+#define MDIO_PCS_SPEED_5G 0x0080 /* 5G capable */
123125
124126 /* Device present registers. */
125127 #define MDIO_DEVS_PRESENT(devad) (1 << (devad))