diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 70641d2c042957e7e154b4a1d265f39fe3ffa386..5af41cc45fd52256498839057f14082ed9d43146 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 501ea7699a2df399c6e1998e570eab6c7ae9a645..cb26095dd6628864211f387a0d7a780a4bff93d7 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 1a0006a76b00a785c62d4bc01959136a6c7ea0e3..c48665047c21adf67ce49bd1f24ea8219b5d04ea 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