net: phy: meson-gxl: add read and write helpers for banked registers
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 18 Dec 2017 09:44:42 +0000 (10:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Dec 2017 18:24:55 +0000 (13:24 -0500)
commitfdaa84c37151f7f8080dc2d7842f681d9790fb87
treee66de316ad62358ac18b80a23227bac21f92223a
parent00fd73eb29205c1c94805fe5e39a09135d870e96
net: phy: meson-gxl: add read and write helpers for banked registers

Add read and write helpers to manipulate banked registers on this PHY
This helps clarify the settings applied to these registers and what the
driver actually does

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/meson-gxl.c