kernel: add missing patch for AR8216_PHY_LEDS
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 31 Oct 2014 23:53:32 +0000 (23:53 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 31 Oct 2014 23:53:32 +0000 (23:53 +0000)
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>
SVN-Revision: 43139

target/linux/generic/patches-3.13/732-phy-ar8216-led-support.patch [new file with mode: 0644]
target/linux/generic/patches-3.14/732-phy-ar8216-led-support.patch [new file with mode: 0644]
target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch [new file with mode: 0644]

diff --git a/target/linux/generic/patches-3.13/732-phy-ar8216-led-support.patch b/target/linux/generic/patches-3.13/732-phy-ar8216-led-support.patch
new file mode 100644 (file)
index 0000000..76c4afc
--- /dev/null
@@ -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
diff --git a/target/linux/generic/patches-3.14/732-phy-ar8216-led-support.patch b/target/linux/generic/patches-3.14/732-phy-ar8216-led-support.patch
new file mode 100644 (file)
index 0000000..76c4afc
--- /dev/null
@@ -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
diff --git a/target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch b/target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch
new file mode 100644 (file)
index 0000000..c753967
--- /dev/null
@@ -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