]> 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)
commitc68622c37ed05e42dd60bc99cf89e9d3085d472c
tree4dff26b637d0c9632203fcc8171df0c895d23454
parent96594a6222c1d954074503b10c96dcb92f5cd04c
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]