]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: microchip: lan937x: register mdio-bus
authorArun Ramadoss <arun.ramadoss@microchip.com>
Fri, 1 Jul 2022 15:07:09 +0000 (20:37 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2022 15:34:05 +0000 (16:34 +0100)
commitc7c3babd19bbabea54f1df0fad4dc41480af45c0
tree1febcc2b3882230ca46331e9c1f4bd213d2f5410
parentb1602ffe53bf8ae9cdec4028178fed5771bc8b89
net: dsa: microchip: lan937x: register mdio-bus

This patch register mdio-bus for the lan937x series switch. mdio read
and write uses the vphy for accessing the phy register.

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/lan937x_main.c