]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: microchip: lan937x: add phy read and write support
authorArun Ramadoss <arun.ramadoss@microchip.com>
Fri, 1 Jul 2022 15:06:29 +0000 (20:36 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2022 15:34:05 +0000 (16:34 +0100)
commitb6d33f9beb01f8db281ad4ff5dfb3f14f5c8f8f3
tree48774299f6a2bf957195b9300cc0d284413f58c4
parent672a8494d7ef01a517767f729c9452c7df1292ca
net: dsa: microchip: lan937x: add phy read and write support

This patch add support for the writing and reading of the phy registers.
LAN937x uses the Vphy indirect addressing method for accessing the phys.

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