]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio: mscc-miim: convert to a regmap implementation
authorColin Foster <colin.foster@in-advantage.com>
Mon, 29 Nov 2021 01:57:35 +0000 (17:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2021 13:02:00 +0000 (13:02 +0000)
commitec4bd430fec2465d77a0d0171095afc959f3ab48
treea8ab5941d2f0cde7d90254a6c52ab16ff50fb9e2
parentee84bdf19185f013648758aaaa96192f5af78f4b
net: mdio: mscc-miim: convert to a regmap implementation

Utilize regmap instead of __iomem to perform indirect mdio access. This
will allow for custom regmaps to be used by way of the mscc_miim_setup
function.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-mscc-miim.c