aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-01-20 10:22:59 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-01-20 10:22:59 +0000
commit2ea77c117b988e7b3651d16d38d60983a7267e26 (patch)
treeaff0b63d1b50cb77be1579b58e913a7140514864
parente4e8b26a37ff4a11fda4f6095807cb0b68170d6e (diff)
downloadmaster-187ad058-2ea77c117b988e7b3651d16d38d60983a7267e26.tar.gz
master-187ad058-2ea77c117b988e7b3651d16d38d60983a7267e26.tar.bz2
master-187ad058-2ea77c117b988e7b3651d16d38d60983a7267e26.zip
kernel/3.1[02]: add AR8216_PHY_LEDS option
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39339 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic/config-3.101
-rw-r--r--target/linux/generic/config-3.121
-rw-r--r--target/linux/generic/patches-3.10/732-phy-ar8216-led-support.patch13
-rw-r--r--target/linux/generic/patches-3.12/732-phy-ar8216-led-support.patch13
4 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/generic/config-3.10 b/target/linux/generic/config-3.10
index 0ae7971e74..a2d4ec2bc0 100644
--- a/target/linux/generic/config-3.10
+++ b/target/linux/generic/config-3.10
@@ -109,6 +109,7 @@ CONFIG_ANON_INODES=y
# CONFIG_APPLICOM is not set
# CONFIG_AR7 is not set
# CONFIG_AR8216_PHY is not set
+# CONFIG_AR8216_PHY_LEDS is not set
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_BCM2835 is not set
# CONFIG_ARCH_BCMRING is not set
diff --git a/target/linux/generic/config-3.12 b/target/linux/generic/config-3.12
index ba72edeefa..8398a6130a 100644
--- a/target/linux/generic/config-3.12
+++ b/target/linux/generic/config-3.12
@@ -114,6 +114,7 @@ CONFIG_ANON_INODES=y
# CONFIG_AR5523 is not set
# CONFIG_AR7 is not set
# CONFIG_AR8216_PHY is not set
+# CONFIG_AR8216_PHY_LEDS is not set
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_BCM is not set
# CONFIG_ARCH_BCM2835 is not set
diff --git a/target/linux/generic/patches-3.10/732-phy-ar8216-led-support.patch b/target/linux/generic/patches-3.10/732-phy-ar8216-led-support.patch
new file mode 100644
index 0000000000..76c4afcdf4
--- /dev/null
+++ b/target/linux/generic/patches-3.10/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.12/732-phy-ar8216-led-support.patch b/target/linux/generic/patches-3.12/732-phy-ar8216-led-support.patch
new file mode 100644
index 0000000000..76c4afcdf4
--- /dev/null
+++ b/target/linux/generic/patches-3.12/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