kernel: update kernel 4.4 to version 4.4.6
[openwrt/openwrt.git] / target / linux / generic / patches-4.4 / 700-swconfig.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -12,6 +12,16 @@ menuconfig PHYLIB
4
5 if PHYLIB
6
7 +config SWCONFIG
8 + tristate "Switch configuration API"
9 + ---help---
10 + Switch configuration API using netlink. This allows
11 + you to configure the VLAN features of certain switches.
12 +
13 +config SWCONFIG_LEDS
14 + bool "Switch LED trigger support"
15 + depends on (SWCONFIG && LEDS_TRIGGERS)
16 +
17 comment "MII PHY device drivers"
18
19 config AQUANTIA_PHY
20 --- a/drivers/net/phy/Makefile
21 +++ b/drivers/net/phy/Makefile
22 @@ -3,6 +3,7 @@
23 libphy-objs := phy.o phy_device.o mdio_bus.o
24
25 obj-$(CONFIG_PHYLIB) += libphy.o
26 +obj-$(CONFIG_SWCONFIG) += swconfig.o
27 obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o
28 obj-$(CONFIG_MARVELL_PHY) += marvell.o
29 obj-$(CONFIG_DAVICOM_PHY) += davicom.o
30 --- a/include/uapi/linux/Kbuild
31 +++ b/include/uapi/linux/Kbuild
32 @@ -388,6 +388,7 @@ header-y += stddef.h
33 header-y += string.h
34 header-y += suspend_ioctls.h
35 header-y += swab.h
36 +header-y += switch.h
37 header-y += synclink.h
38 header-y += sysctl.h
39 header-y += sysinfo.h