ar71xx: add mdio bus driver for the rtl8366 switch
[openwrt.git] / target / linux / ar71xx / patches-2.6.28 / 204-rtl8366-smi-driver.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -114,4 +114,8 @@ config MDIO_OF_GPIO
4         ---help---
5           Supports GPIO lib-based MDIO busses.
6  
7 +config RTL8366_SMI
8 +       tristate "Support for RTL8366 switch via SMI interface"
9 +       depends on GENERIC_GPIO
10 +
11  endif # PHYLIB
12 --- a/drivers/net/phy/Makefile
13 +++ b/drivers/net/phy/Makefile
14 @@ -17,6 +17,7 @@ obj-$(CONFIG_ADM6996_PHY)     += adm6996.o
15  obj-$(CONFIG_IP175C_PHY)       += ip175c.o
16  obj-$(CONFIG_RTL8306_PHY)      += rtl8306.o
17  obj-$(CONFIG_REALTEK_PHY)      += realtek.o
18 +obj-$(CONFIG_RTL8366_SMI)      += rtl8366_smi.o
19  obj-$(CONFIG_MICREL_PHY)       += micrel.o
20  obj-$(CONFIG_FIXED_PHY)                += fixed.o
21  obj-$(CONFIG_MDIO_BITBANG)     += mdio-bitbang.o