]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: microchip: lan937x: add phylink_mac_config support
authorArun Ramadoss <arun.ramadoss@microchip.com>
Fri, 1 Jul 2022 15:12:03 +0000 (20:42 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2022 15:34:05 +0000 (16:34 +0100)
commit3aa81e9b3f63ed64d5ab357be44ebee0e98958a4
tree985166ffa8ed875225b5081d746044818fd77331
parent8c50d404e283a569ae3d2d7d5683069e7be856ae
net: dsa: microchip: lan937x: add phylink_mac_config support

This patch add support for phylink_mac_config dsa hook. It configures
the mac for MII/RMII modes. The RGMII mode will be added in the future
patches.

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/ksz_common.h
drivers/net/dsa/microchip/lan937x.h
drivers/net/dsa/microchip/lan937x_main.c