Kconfig 782 字节
Newer Older
1 2 3 4 5 6
config HAVE_NET_DSA
	def_bool y
	depends on NETDEVICES && !S390

# Drivers must select NET_DSA and the appropriate tagging format

7
config NET_DSA
8
	tristate
9
	depends on HAVE_NET_DSA
D
David S. Miller 已提交
10
	select PHYLIB
11
	select NET_SWITCHDEV
12

13
if NET_DSA
14

15 16 17 18 19 20 21 22 23 24 25
config NET_DSA_HWMON
	bool "Distributed Switch Architecture HWMON support"
	default y
	depends on HWMON && !(NET_DSA=y && HWMON=m)
	---help---
	  Say Y if you want to expose thermal sensor data on switches supported
	  by the Distributed Switch Architecture.

	  Some of those switches contain thermal sensors. This data is available
	  via the hwmon sysfs interface and exposes the onboard sensors.

26
# tagging formats
27 28 29
config NET_DSA_TAG_BRCM
	bool

30
config NET_DSA_TAG_DSA
31
	bool
32

33
config NET_DSA_TAG_EDSA
34
	bool
35

36
config NET_DSA_TAG_TRAILER
37 38 39
	bool

endif