From c9a9a313c3d8f49b1343b8655b424cbee8b218cc Mon Sep 17 00:00:00 2001 From: Unknown <unknown@openwrt.org> Date: Fri, 16 Sep 2016 10:48:16 +0200 Subject: [PATCH] generic/700-swconfig --- drivers/net/phy/Kconfig | 10 ++++++++++ drivers/net/phy/Makefile | 1 + include/uapi/linux/Kbuild | 1 + 3 files changed, 12 insertions(+) diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 70641d2c04..5af41cc45f 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -12,6 +12,16 @@ menuconfig PHYLIB if PHYLIB +config SWCONFIG + tristate "Switch configuration API" + ---help--- + Switch configuration API using netlink. This allows + you to configure the VLAN features of certain switches. + +config SWCONFIG_LEDS + bool "Switch LED trigger support" + depends on (SWCONFIG && LEDS_TRIGGERS) + comment "MII PHY device drivers" config AT803X_PHY diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile index 501ea7699a..cb26095dd6 100644 --- a/drivers/net/phy/Makefile +++ b/drivers/net/phy/Makefile @@ -3,6 +3,7 @@ libphy-objs := phy.o phy_device.o mdio_bus.o obj-$(CONFIG_PHYLIB) += libphy.o +obj-$(CONFIG_SWCONFIG) += swconfig.o obj-$(CONFIG_MARVELL_PHY) += marvell.o obj-$(CONFIG_DAVICOM_PHY) += davicom.o obj-$(CONFIG_CICADA_PHY) += cicada.o diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index 1a0006a76b..c48665047c 100644 --- a/include/uapi/linux/Kbuild +++ b/include/uapi/linux/Kbuild @@ -380,6 +380,7 @@ header-y += stddef.h header-y += string.h header-y += suspend_ioctls.h header-y += swab.h +header-y += switch.h header-y += synclink.h header-y += sysctl.h header-y += sysinfo.h -- GitLab