1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -140,4 +140,14 @@ config MDIO_GPIO
4 To compile this driver as a module, choose M here: the module
5 will be called mdio-gpio.
8 + tristate "Support for RTL8366 switch via SMI interface"
9 + depends on GENERIC_GPIO
11 +config RTL8366_SMI_DEBUG_FS
12 + bool "RTL8366S driver DEBUG_FS support"
13 + depends on RTL8366_SMI
18 --- a/drivers/net/phy/Makefile
19 +++ b/drivers/net/phy/Makefile
20 @@ -19,6 +19,7 @@ obj-$(CONFIG_IP175C_PHY) += ip175c.o
21 obj-$(CONFIG_REALTEK_PHY) += realtek.o
22 obj-$(CONFIG_AR8216_PHY) += ar8216.o
23 obj-$(CONFIG_RTL8306_PHY) += rtl8306.o
24 +obj-$(CONFIG_RTL8366_SMI) += rtl8366_smi.o
25 obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
26 obj-$(CONFIG_MICREL) += micrel.o
27 obj-$(CONFIG_FIXED_PHY) += fixed.o