summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/airoha/Kconfig
blob: ad3ce501e7a577b839b674406900ddaea88a9b83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# SPDX-License-Identifier: GPL-2.0-only
config NET_VENDOR_AIROHA
	bool "Airoha devices"
	depends on ARCH_AIROHA || COMPILE_TEST
	help
	  If you have a Airoha SoC with ethernet, say Y.

if NET_VENDOR_AIROHA

config NET_AIROHA_NPU
	tristate "Airoha NPU support"
	select WANT_DEV_COREDUMP
	select REGMAP_MMIO
	help
	  This driver supports Airoha Network Processor (NPU) available
	  on the Airoha Soc family.

config NET_AIROHA
	tristate "Airoha SoC Gigabit Ethernet support"
	depends on NET_DSA || !NET_DSA
	select NET_AIROHA_NPU
	select PAGE_POOL
	help
	  This driver supports the gigabit ethernet MACs in the
	  Airoha SoC family.

config NET_AIROHA_FLOW_STATS
	default y
	bool "Airoha flow stats"
	depends on NET_AIROHA && NET_AIROHA_NPU
	help
	  Enable Aiorha flowtable statistic counters.

endif #NET_VENDOR_AIROHA