| 1 | --- a/drivers/net/phy/Kconfig |
| 2 | +++ b/drivers/net/phy/Kconfig |
| 3 | @@ -13,6 +13,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 AMD_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_MARVELL_PHY) += marvell.o |
| 28 | obj-$(CONFIG_DAVICOM_PHY) += davicom.o |
| 29 | obj-$(CONFIG_CICADA_PHY) += cicada.o |
| 30 | --- a/include/linux/Kbuild |
| 31 | +++ b/include/linux/Kbuild |
| 32 | @@ -358,6 +358,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 |
| 40 | |