xref: /linux/drivers/net/ethernet/airoha/Kconfig (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
1fb3dda82SLorenzo Bianconi# SPDX-License-Identifier: GPL-2.0-only
2fb3dda82SLorenzo Bianconiconfig NET_VENDOR_AIROHA
3fb3dda82SLorenzo Bianconi	bool "Airoha devices"
4fb3dda82SLorenzo Bianconi	depends on ARCH_AIROHA || COMPILE_TEST
5fb3dda82SLorenzo Bianconi	help
6fb3dda82SLorenzo Bianconi	  If you have a Airoha SoC with ethernet, say Y.
7fb3dda82SLorenzo Bianconi
8fb3dda82SLorenzo Bianconiif NET_VENDOR_AIROHA
9fb3dda82SLorenzo Bianconi
1023290c7bSLorenzo Bianconiconfig NET_AIROHA_NPU
1123290c7bSLorenzo Bianconi	tristate "Airoha NPU support"
1223290c7bSLorenzo Bianconi	select WANT_DEV_COREDUMP
1323290c7bSLorenzo Bianconi	select REGMAP_MMIO
1423290c7bSLorenzo Bianconi	help
1523290c7bSLorenzo Bianconi	  This driver supports Airoha Network Processor (NPU) available
1623290c7bSLorenzo Bianconi	  on the Airoha Soc family.
1723290c7bSLorenzo Bianconi
18fb3dda82SLorenzo Bianconiconfig NET_AIROHA
19fb3dda82SLorenzo Bianconi	tristate "Airoha SoC Gigabit Ethernet support"
20fb3dda82SLorenzo Bianconi	depends on NET_DSA || !NET_DSA
2123290c7bSLorenzo Bianconi	select NET_AIROHA_NPU
22fb3dda82SLorenzo Bianconi	select PAGE_POOL
23fb3dda82SLorenzo Bianconi	help
24fb3dda82SLorenzo Bianconi	  This driver supports the gigabit ethernet MACs in the
25fb3dda82SLorenzo Bianconi	  Airoha SoC family.
26fb3dda82SLorenzo Bianconi
27*b81e0f2bSLorenzo Bianconiconfig NET_AIROHA_FLOW_STATS
28*b81e0f2bSLorenzo Bianconi	default y
29*b81e0f2bSLorenzo Bianconi	bool "Airoha flow stats"
30*b81e0f2bSLorenzo Bianconi	depends on NET_AIROHA && NET_AIROHA_NPU
31*b81e0f2bSLorenzo Bianconi	help
32*b81e0f2bSLorenzo Bianconi	  Enable Aiorha flowtable statistic counters.
33*b81e0f2bSLorenzo Bianconi
34fb3dda82SLorenzo Bianconiendif #NET_VENDOR_AIROHA
35