]> git.baikalelectronics.ru Git - kernel.git/commit
net: sparx5: add hostmode with phylink support
authorSteen Hegelund <steen.hegelund@microchip.com>
Thu, 24 Jun 2021 07:07:51 +0000 (09:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Jun 2021 18:28:12 +0000 (11:28 -0700)
commit84762eac925f7085ecf485746f0a9e91d4001c22
tree4dff26b637d0c9632203fcc8171df0c895d23454
parentd8258264af1d8ab00ac8bb84a46a52b9ac6d4ce8
net: sparx5: add hostmode with phylink support

This patch adds netdevs and phylink support for the ports in the switch.
It also adds register based injection and extraction for these ports.

Frame DMA support for injection and extraction will be added in a later
series.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: Bjarni Jonasson <bjarni.jonasson@microchip.com>
Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/Makefile
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
drivers/net/ethernet/microchip/sparx5/sparx5_main.h
drivers/net/ethernet/microchip/sparx5/sparx5_netdev.c [new file with mode: 0644]
drivers/net/ethernet/microchip/sparx5/sparx5_packet.c [new file with mode: 0644]
drivers/net/ethernet/microchip/sparx5/sparx5_phylink.c [new file with mode: 0644]