1
- # Distributed Switch Architecture [DSA] configuration options
1
+ # Distributed Switch Architecture [DSA] device configuration options
2
2
3
3
# Copyright (c) 2020 DENX Software Engineering GmbH
4
4
# Lukasz Majewski <
[email protected] >
5
+ # Copyright 2025 NXP
5
6
# SPDX-License-Identifier: Apache-2.0
6
7
7
8
config ETH_DSA_SUPPORT_DEPRECATED
@@ -10,25 +11,13 @@ config ETH_DSA_SUPPORT_DEPRECATED
10
11
Set by an ethernet driver that supports DSA. This is obsolete,
11
12
and only used for legacy dsa device.
12
13
13
- menuconfig NET_DSA
14
- bool "Distributed Switch Architecture support"
14
+ menuconfig DSA_DRIVERS
15
+ bool "Distributed Switch Architecture device drivers"
16
+ default y if NET_DSA
15
17
help
16
18
Enable Distributed Switch Architecture support.
17
19
18
- if NET_DSA
19
-
20
- config NET_DSA_DEPRECATED
21
- bool "Distributed Switch Architecture support for legacy device"
22
- select DEPRECATED
23
- depends on ETH_DSA_SUPPORT_DEPRECATED
24
- help
25
- This is obsolete, and only used for legacy dsa device.
26
-
27
- config DSA_PORT_MAX_COUNT
28
- int "DSA port max count"
29
- default 8
30
- help
31
- Set DSA port max count.
20
+ if DSA_DRIVERS
32
21
33
22
config DSA_KSZ8XXX
34
23
bool
@@ -66,14 +55,6 @@ config DSA_KSZ_TAIL_TAGGING
66
55
help
67
56
Add support for tail tagging on DSA device.
68
57
69
- config DSA_TAG_SIZE
70
- int "DSA tag size in bytes"
71
- default 1 if DSA_KSZ8794 || DSA_KSZ8863 || DSA_KSZ8463
72
- default 0
73
- depends on DSA_KSZ_TAIL_TAGGING
74
- help
75
- Set the DSA tag length in bytes.
76
-
77
58
config DSA_KSZ_PORT_ISOLATING
78
59
bool "Support for ports isolating"
79
60
depends on DSA_KSZ8794 || DSA_KSZ8863 || DSA_KSZ8463
@@ -86,10 +67,4 @@ config DSA_SPI
86
67
help
87
68
Use SPI bus to communicate with PHY
88
69
89
- module = NET_DSA
90
- module-dep = NET_LOG
91
- module-str = Log level for DSA
92
- module-help = Enables core DSA code to output debug messages.
93
- source "subsys/net/Kconfig.template.log_config.net"
94
-
95
- endif # NET_DSA
70
+ endif # DSA_DRIVERS
0 commit comments