[kernel/2.6.38] fix gcc-4.6 set but unused warnings
[openwrt.git] / target / linux / generic / patches-3.0 / 700-swconfig.patch
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 MARVELL_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
This page took 0.0539 seconds and 5 git commands to generate.