forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig.dsa
55 lines (45 loc) · 1.41 KB
/
Kconfig.dsa
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Distributed Switch Architecture [DSA] configuration options
# Copyright (c) 2020 DENX Software Engineering GmbH
# Lukasz Majewski <[email protected]>
# SPDX-License-Identifier: Apache-2.0
menuconfig NET_DSA
bool "Distributed Switch Architecture support"
depends on ETH_MCUX || ETH_SAM_GMAC
help
Enable Distributed Switch Architecture support. For now it
only supports Kinetics ENET driver.
if NET_DSA
config DSA_KSZ8XXX
bool
config DSA_KSZ8794
bool "Support for KSZ8794"
default y
depends on DT_HAS_MICROCHIP_KSZ8794_ENABLED
select DSA_KSZ8XXX
select SPI if $(dt_compat_on_bus,$(DT_COMPAT_MICROCHIP_KSZ8794),spi)
help
Add support for KSZ8794 DSA device driver.
config DSA_KSZ8863
bool "Support for KSZ8863"
default y
depends on DT_HAS_MICROCHIP_KSZ8863_ENABLED
select DSA_KSZ8XXX
select SPI if $(dt_compat_on_bus,$(DT_COMPAT_MICROCHIP_KSZ8863),spi)
help
Add support for KSZ8863 DSA device driver.
config DSA_KSZ_TAIL_TAGGING
bool "Support for tail tagging"
depends on DSA_KSZ8794 || DSA_KSZ8863
help
Add support for tail tagging on DSA device.
config DSA_SPI
bool "Support for PHY SPI interface"
depends on SPI && (DSA_KSZ8794 || DSA_KSZ8863)
help
Use SPI bus to communicate with PHY
module = NET_DSA
module-dep = NET_LOG
module-str = Log level for DSA
module-help = Enables core DSA code to output debug messages.
source "subsys/net/Kconfig.template.log_config.net"
endif # NET_DSA