History

net: phy: broadcom: add helper to write/read RDB registers

RDB (Register Data Base) registers are used on newer Broadcom PHYs. Add helper to read, write and modify these registers.

Michael Walle committed 6 years ago

Commit 0a32f1f1 parent b86a0373 files · +92 −0Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/brcmphy.h+3−0
@@ -115,6 +115,9 @@ · 114 unmodified lines
115115 #define MII_BCM54XX_SHD_VAL(x) ((x & 0x1f) << 10)
116116 #define MII_BCM54XX_SHD_DATA(x) ((x & 0x3ff) << 0)
117117
118+#define MII_BCM54XX_RDB_ADDR 0x1e
119+#define MII_BCM54XX_RDB_DATA 0x1f
120+
118121 /*
119122 * AUXILIARY CONTROL SHADOW ACCESS REGISTERS. (PHY REG 0x18)
120123 */