From 6deeb3513c507d462ebf5f318d71ca9962b4a820 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 31 Oct 2014 23:53:32 +0000 Subject: [PATCH] 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 SVN-Revision: 43139 --- .../patches-3.13/732-phy-ar8216-led-support.patch | 13 +++++++++++++ .../patches-3.14/732-phy-ar8216-led-support.patch | 13 +++++++++++++ .../patches-3.18/732-phy-ar8216-led-support.patch | 13 +++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 target/linux/generic/patches-3.13/732-phy-ar8216-led-support.patch create mode 100644 target/linux/generic/patches-3.14/732-phy-ar8216-led-support.patch create mode 100644 target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch 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 index 0000000000..76c4afcdf4 --- /dev/null +++ b/target/linux/generic/patches-3.13/732-phy-ar8216-led-support.patch @@ -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 index 0000000000..76c4afcdf4 --- /dev/null +++ b/target/linux/generic/patches-3.14/732-phy-ar8216-led-support.patch @@ -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 index 0000000000..c753967572 --- /dev/null +++ b/target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch @@ -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 -- 2.25.1