kernel: add missing patch for AR8216_PHY_LEDS

The patch adding AR8216_PHY_LEDS was not ported to more recent kernel 
versions.
Thank you swalker for spotting this.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43139 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Hauke Mehrtens 2014-10-31 23:53:32 +00:00
parent f2a9d11c71
commit 7ae7b70017
3 changed files with 39 additions and 0 deletions

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

View File

@ -0,0 +1,13 @@
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -152,6 +152,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