1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig NET_DSA_REALTEK
3 tristate "Realtek Ethernet switch family support"
10 Select to enable support for Realtek Ethernet switch chips.
12 Note that at least one interface driver must be enabled for the
13 subdrivers to be loaded. Moreover, an interface driver cannot achieve
14 anything without at least one subdriver enabled.
18 config NET_DSA_REALTEK_MDIO
19 bool "Realtek MDIO interface support"
22 Select to enable support for registering switches configured
25 config NET_DSA_REALTEK_SMI
26 bool "Realtek SMI interface support"
29 Select to enable support for registering switches connected
32 config NET_DSA_REALTEK_RTL8365MB
33 tristate "Realtek RTL8365MB switch driver"
34 depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO
35 select NET_DSA_TAG_RTL8_4
37 Select to enable support for Realtek RTL8365MB-VC and RTL8367S.
39 config NET_DSA_REALTEK_RTL8366RB
40 tristate "Realtek RTL8366RB switch driver"
41 depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO
42 select NET_DSA_TAG_RTL4_A
44 Select to enable support for Realtek RTL8366RB.