kernel: add linux 4.4 support
[openwrt.git] / target / linux / generic / patches-4.4 / 725-phy_rtl8306.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -190,6 +190,10 @@ config AR8216_PHY
4         select ETHERNET_PACKET_MANGLE
5         select SWCONFIG
6  
7 +config RTL8306_PHY
8 +       tristate "Driver for Realtek RTL8306S switches"
9 +       select SWCONFIG
10 +
11  config FIXED_PHY
12         tristate "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
13         depends on PHYLIB
14 --- a/drivers/net/phy/Makefile
15 +++ b/drivers/net/phy/Makefile
16 @@ -27,6 +27,7 @@ obj-$(CONFIG_MVSWITCH_PHY)    += mvswitch.o
17  obj-$(CONFIG_IP17XX_PHY)       += ip17xx.o
18  obj-$(CONFIG_REALTEK_PHY)      += realtek.o
19  obj-$(CONFIG_AR8216_PHY)       += ar8216.o ar8327.o
20 +obj-$(CONFIG_RTL8306_PHY)      += rtl8306.o
21  obj-$(CONFIG_LSI_ET1011C_PHY)  += et1011c.o
22  obj-$(CONFIG_FIXED_PHY)                += fixed_phy.o
23  obj-$(CONFIG_MDIO_BITBANG)     += mdio-bitbang.o