add a driver for rtl8306 switches
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.28 / 690-phy_rtl8306.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -88,6 +88,10 @@ config AR8216_PHY
4         tristate "Driver for Atheros AR8216 switches"
5         select SWCONFIG
6  
7 +config RTL8306_PHY
8 +       tristate "Driver for Realtek RTL8306S switches"
9 +       select SWCONFIG
10 +
11  config FIXED_PHY
12         bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
13         depends on PHYLIB=y
14 --- a/drivers/net/phy/Makefile
15 +++ b/drivers/net/phy/Makefile
16 @@ -17,6 +17,7 @@ obj-$(CONFIG_ADM6996_PHY)     += adm6996.o
17  obj-$(CONFIG_MVSWITCH_PHY)     += mvswitch.o
18  obj-$(CONFIG_IP175C_PHY)       += ip175c.o
19  obj-$(CONFIG_AR8216_PHY)       += ar8216.o
20 +obj-$(CONFIG_RTL8306_PHY)      += rtl8306.o
21  obj-$(CONFIG_REALTEK_PHY)      += realtek.o
22  obj-$(CONFIG_FIXED_PHY)                += fixed.o
23  obj-$(CONFIG_MDIO_BITBANG)     += mdio-bitbang.o