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 12config NET_DSA_REALTEK_SMI 13 tristate "Realtek SMI connected switch driver" 14 depends on NET_DSA_REALTEK 15 default y 16 help 17 Select to enable support for registering switches connected 18 through SMI. 19 20config NET_DSA_REALTEK_RTL8365MB 21 tristate "Realtek RTL8365MB switch subdriver" 22 default y 23 depends on NET_DSA_REALTEK 24 depends on NET_DSA_REALTEK_SMI 25 select NET_DSA_TAG_RTL8_4 26 help 27 Select to enable support for Realtek RTL8365MB 28 29config NET_DSA_REALTEK_RTL8366RB 30 tristate "Realtek RTL8366RB switch subdriver" 31 default y 32 depends on NET_DSA_REALTEK 33 depends on NET_DSA_REALTEK_SMI 34 select NET_DSA_TAG_RTL4_A 35 help 36 Select to enable support for Realtek RTL8366RB 37