]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: macb: let miiphy_read/_write pass arbitrary addresses
authorJosef Holzmayr <holzmayr@rsi-elektrotechnik.de>
Wed, 2 Oct 2019 19:22:52 +0000 (21:22 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:42 +0000 (09:47 -0600)
commit7c56408be61ec5597c944bb67c034e7bf01922d5
tree3ac6fd09822b2bac9219f439253a99a56d8696f9
parent0d3044c210c7a7078c4150bfc67927c25ef0d958
net: macb: let miiphy_read/_write pass arbitrary addresses

This allows passing arbitrary addresses through macb_miiphy_read and
macb_miiphy_write, therefore enabling the mii command to access
all mdio bus devices instead of only the defined phy.

Signed-off-by: Josef Holzmayr <holzmayr@rsi-elektrotechnik.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c