Skip to content

Commit

Permalink
net: ethernet: renesas: Add support for "Ethernet Switch"
Browse files Browse the repository at this point in the history
Add initial support for Renesas "Ethernet Switch" device of R-Car S4-8.
The hardware has features about forwarding for an ethernet switch
device. But, for now, it acts as ethernet controllers so that any
forwarding offload features are not supported. So, any switchdev
header files and DSA framework are not used.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
shimoday authored and davem330 committed Nov 2, 2022
1 parent f9edd82 commit 3590918
Show file tree
Hide file tree
Showing 4 changed files with 2,686 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/net/ethernet/renesas/Kconfig
Expand Up @@ -42,4 +42,15 @@ config RAVB
This driver supports the following SoCs:
- R8A779x.

config RENESAS_ETHER_SWITCH
tristate "Renesas Ethernet Switch support"
depends on ARCH_RENESAS || COMPILE_TEST
select CRC32
select MII
select PHYLINK
help
Renesas Ethernet Switch device driver.
This driver supports the following SoCs:
- R8A779Fx.

endif # NET_VENDOR_RENESAS
4 changes: 4 additions & 0 deletions drivers/net/ethernet/renesas/Makefile
Expand Up @@ -8,3 +8,7 @@ obj-$(CONFIG_SH_ETH) += sh_eth.o
ravb-objs := ravb_main.o ravb_ptp.o

obj-$(CONFIG_RAVB) += ravb.o

rswitch_drv-objs := rswitch.o

obj-$(CONFIG_RENESAS_ETHER_SWITCH) += rswitch_drv.o

0 comments on commit 3590918

Please sign in to comment.