rtl8366_smi: move chip specific stuff into its own struct
[openwrt.git] / target / linux / ar71xx / patches-2.6.31 / 204-rtl8366-smi-driver.patch
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.
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 @@ -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
This page took 0.039227 seconds and 5 git commands to generate.