OSDN Git Service

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)
commitd28d6d2e37d10d607f931d25c835a0bd94d370e3
tree6115db9aef90091ae7a27a13b71c693d68ce0b2e
parentdb8bcaad539314df5d58f2c57465e965440d1aa6
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]