]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: add port module support
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Mon, 29 Nov 2021 12:43:56 +0000 (13:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2021 12:58:38 +0000 (12:58 +0000)
commit055718c1aaafdae6242532a213aa2b21c39a29f1
tree6115db9aef90091ae7a27a13b71c693d68ce0b2e
parent972d3be0c0135078333f946616a838b8356acc52
net: lan966x: add port module support

This patch adds support for netdev and phylink in the switch. The
injection + extraction is register based. This will be replaced with DMA
accees.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/Makefile
drivers/net/ethernet/microchip/lan966x/lan966x_ifh.h [new file with mode: 0644]
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
drivers/net/ethernet/microchip/lan966x/lan966x_main.h
drivers/net/ethernet/microchip/lan966x/lan966x_phylink.c [new file with mode: 0644]
drivers/net/ethernet/microchip/lan966x/lan966x_port.c [new file with mode: 0644]