kernel: add linux 4.4 support
[openwrt.git] / target / linux / generic / patches-4.4 / 720-phy_adm6996.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -170,6 +170,13 @@ config MICROCHIP_PHY
4         help
5           Supports the LAN88XX PHYs.
6  
7 +config ADM6996_PHY
8 +       tristate "Driver for ADM6996 switches"
9 +       select SWCONFIG
10 +       ---help---
11 +         Currently supports the ADM6996FC and ADM6996M switches.
12 +         Support for FC is very limited.
13 +
14  config FIXED_PHY
15         tristate "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
16         depends on PHYLIB
17 --- a/drivers/net/phy/Makefile
18 +++ b/drivers/net/phy/Makefile
19 @@ -22,6 +22,7 @@ obj-$(CONFIG_BCM7XXX_PHY)     += bcm7xxx.o
20  obj-$(CONFIG_BCM87XX_PHY)      += bcm87xx.o
21  obj-$(CONFIG_BCM_CYGNUS_PHY)   += bcm-cygnus.o
22  obj-$(CONFIG_ICPLUS_PHY)       += icplus.o
23 +obj-$(CONFIG_ADM6996_PHY)      += adm6996.o
24  obj-$(CONFIG_REALTEK_PHY)      += realtek.o
25  obj-$(CONFIG_LSI_ET1011C_PHY)  += et1011c.o
26  obj-$(CONFIG_FIXED_PHY)                += fixed_phy.o