]> git.baikalelectronics.ru Git - uboot.git/commit
net: macb: explicitly pass phy_adr to mdio read and write
authorJosef Holzmayr <holzmayr@rsi-elektrotechnik.de>
Wed, 2 Oct 2019 19:22:51 +0000 (21:22 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:42 +0000 (09:47 -0600)
commit283713379bda08044287b73fe4cdcba9096b05c9
treef0b3994434e8e3be8a2ff12753ec13a963a9de31
parent038ea7521a450eeb90662d289c87bd5391944696
net: macb: explicitly pass phy_adr to mdio read and write

To support accessing arbitrary addresses the mii/mdio bus it is
necessary that the macb_mdio_read and macb_mdio_write functions
do not implicitly use the address of the connected phy.

The function signature is extended according to the Linux kernel
equivalent.

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