rtl8366_smi: add Kconfig option for the debugfs stuff
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-2.6.32 / 204-rtl8366-smi-driver.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -146,4 +146,14 @@ config MDIO_GPIO
4 To compile this driver as a module, choose M here: the module
5 will be called mdio-gpio.
6
7 +config RTL8366_SMI
8 + tristate "Support for RTL8366 switch via SMI interface"
9 + depends on GENERIC_GPIO
10 +
11 +config RTL8366_SMI_DEBUG_FS
12 + bool "RTL8366S driver DEBUG_FS support"
13 + depends on RTL8366_SMI
14 + depends on DEBUG_FS
15 + default n
16 +
17 endif # PHYLIB
18 --- a/drivers/net/phy/Makefile
19 +++ b/drivers/net/phy/Makefile
20 @@ -20,6 +20,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