]> git.baikalelectronics.ru Git - uboot.git/commit
net: ftmac100: add mii read and write callbacks
authorSergei Antonov <saproj@gmail.com>
Fri, 3 Feb 2023 19:09:04 +0000 (22:09 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 18:41:07 +0000 (13:41 -0500)
commit99e9c2544232e704e0b797055a860e7a487c5046
tree1b756fb08296e17f4edec6f4dd40c7a6e2fb9a80
parent1027f5e75169a39cd44f18c9dfd791a882a04c22
net: ftmac100: add mii read and write callbacks

Register mii_bus with read and write callbacks to allow the 'mii'
command to work. Use a timeout of 10 ms to wait for the R/W
operations to complete.

Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Tested-by: Rick Chen <rick@andestech.com>
drivers/net/Kconfig
drivers/net/ftmac100.c
drivers/net/ftmac100.h