kernel/3.1[02]: add AR8216_PHY_LEDS option

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39339
lede-17.01
Gabor Juhos 2014-01-20 10:22:59 +00:00
parent 0056ac55af
commit 2d28a07df7
4 changed files with 28 additions and 0 deletions

View File

@ -109,6 +109,7 @@ CONFIG_ANON_INODES=y
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_AR7 is not set # CONFIG_AR7 is not set
# CONFIG_AR8216_PHY is not set # CONFIG_AR8216_PHY is not set
# CONFIG_AR8216_PHY_LEDS is not set
# CONFIG_ARCH_AT91 is not set # CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_BCM2835 is not set # CONFIG_ARCH_BCM2835 is not set
# CONFIG_ARCH_BCMRING is not set # CONFIG_ARCH_BCMRING is not set

View File

@ -114,6 +114,7 @@ CONFIG_ANON_INODES=y
# CONFIG_AR5523 is not set # CONFIG_AR5523 is not set
# CONFIG_AR7 is not set # CONFIG_AR7 is not set
# CONFIG_AR8216_PHY is not set # CONFIG_AR8216_PHY is not set
# CONFIG_AR8216_PHY_LEDS is not set
# CONFIG_ARCH_AT91 is not set # CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_BCM is not set # CONFIG_ARCH_BCM is not set
# CONFIG_ARCH_BCM2835 is not set # CONFIG_ARCH_BCM2835 is not set

View File

@ -0,0 +1,13 @@
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -140,6 +140,10 @@ config AR8216_PHY
select ETHERNET_PACKET_MANGLE
select SWCONFIG
+config AR8216_PHY_LEDS
+ bool "Atheros AR8216 switch LED support"
+ depends on (AR8216_PHY && LEDS_CLASS)
+
config RTL8306_PHY
tristate "Driver for Realtek RTL8306S switches"
select SWCONFIG

View File

@ -0,0 +1,13 @@
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -140,6 +140,10 @@ config AR8216_PHY
select ETHERNET_PACKET_MANGLE
select SWCONFIG
+config AR8216_PHY_LEDS
+ bool "Atheros AR8216 switch LED support"
+ depends on (AR8216_PHY && LEDS_CLASS)
+
config RTL8306_PHY
tristate "Driver for Realtek RTL8306S switches"
select SWCONFIG