brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 6989972 Raw
47 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menuconfig NET_DSA_REALTEK3	tristate "Realtek Ethernet switch family support"4	depends on NET_DSA5	select FIXED_PHY6	select IRQ_DOMAIN7	select REALTEK_PHY8	select REGMAP9	help10	  Select to enable support for Realtek Ethernet switch chips.11 12	  Note that at least one interface driver must be enabled for the13	  subdrivers to be loaded. Moreover, an interface driver cannot achieve14	  anything without at least one subdriver enabled.15 16if NET_DSA_REALTEK17 18config NET_DSA_REALTEK_MDIO19	bool "Realtek MDIO interface support"20	depends on OF21	help22	  Select to enable support for registering switches configured23	  through MDIO.24 25config NET_DSA_REALTEK_SMI26	bool "Realtek SMI interface support"27	depends on OF28	help29	  Select to enable support for registering switches connected30	  through SMI.31 32config NET_DSA_REALTEK_RTL8365MB33	tristate "Realtek RTL8365MB switch driver"34	depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO35	select NET_DSA_TAG_RTL8_436	help37	  Select to enable support for Realtek RTL8365MB-VC and RTL8367S.38 39config NET_DSA_REALTEK_RTL8366RB40	tristate "Realtek RTL8366RB switch driver"41	depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO42	select NET_DSA_TAG_RTL4_A43	help44	  Select to enable support for Realtek RTL8366RB.45 46endif47