Kconfig (bce254b839abe67577bebdef0838796af409c229) Kconfig (98b75c1c149c653ad11a440636213eb070325158)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig NET_DSA_REALTEK
3 tristate "Realtek Ethernet switch family support"
4 depends on NET_DSA
5 select FIXED_PHY
6 select IRQ_DOMAIN
7 select REALTEK_PHY
8 select REGMAP
9 help
10 Select to enable support for Realtek Ethernet switch chips.
11
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.
15
16if NET_DSA_REALTEK
17
18config NET_DSA_REALTEK_MDIO
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig NET_DSA_REALTEK
3 tristate "Realtek Ethernet switch family support"
4 depends on NET_DSA
5 select FIXED_PHY
6 select IRQ_DOMAIN
7 select REALTEK_PHY
8 select REGMAP
9 help
10 Select to enable support for Realtek Ethernet switch chips.
11
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.
15
16if NET_DSA_REALTEK
17
18config NET_DSA_REALTEK_MDIO
19 tristate "Realtek MDIO interface support"
19 bool "Realtek MDIO interface support"
20 depends on OF
21 help
22 Select to enable support for registering switches configured
23 through MDIO.
24
25config NET_DSA_REALTEK_SMI
20 depends on OF
21 help
22 Select to enable support for registering switches configured
23 through MDIO.
24
25config NET_DSA_REALTEK_SMI
26 tristate "Realtek SMI interface support"
26 bool "Realtek SMI interface support"
27 depends on OF
28 help
29 Select to enable support for registering switches connected
30 through SMI.
31
32config NET_DSA_REALTEK_RTL8365MB
33 tristate "Realtek RTL8365MB switch driver"
34 depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO

--- 12 unchanged lines hidden ---
27 depends on OF
28 help
29 Select to enable support for registering switches connected
30 through SMI.
31
32config NET_DSA_REALTEK_RTL8365MB
33 tristate "Realtek RTL8365MB switch driver"
34 depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO

--- 12 unchanged lines hidden ---