]> git.dujemihanovic.xyz Git - u-boot.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)
commitadd396d66703c6c422353f950e584fae2a786a20
tree1b756fb08296e17f4edec6f4dd40c7a6e2fb9a80
parent9628c3e8b12d6e64dd649b14770c25b5e8be3b70
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