ar71xx: rename WNR2000v3 support patch
authorGabor Juhos <juhosg@openwrt.org>
Tue, 30 Apr 2013 10:44:11 +0000 (10:44 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 30 Apr 2013 10:44:11 +0000 (10:44 +0000)
Update the numbering of kernel patch for supporting
Netgear WNR2000v3 from 617 to 618.

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36498

target/linux/ar71xx/patches-3.8/617-MIPS-ath79-add-Netgear-WNR2000v3-support.patch [deleted file]
target/linux/ar71xx/patches-3.8/618-MIPS-ath79-add-Netgear-WNR2000v3-support.patch [new file with mode: 0644]

diff --git a/target/linux/ar71xx/patches-3.8/617-MIPS-ath79-add-Netgear-WNR2000v3-support.patch b/target/linux/ar71xx/patches-3.8/617-MIPS-ath79-add-Netgear-WNR2000v3-support.patch
deleted file mode 100644 (file)
index aa3edf0..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/arch/mips/ath79/machtypes.h
-+++ b/arch/mips/ath79/machtypes.h
-@@ -120,6 +120,7 @@ enum ath79_mach_type {
-       ATH79_MACH_WNDR3700,            /* NETGEAR WNDR3700/WNDR3800/WNDRMAC */
-       ATH79_MACH_WNDR4300,            /* NETGEAR WNDR4300 */
-       ATH79_MACH_WNR2000,             /* NETGEAR WNR2000 */
-+      ATH79_MACH_WNR2000_V3,          /* NETGEAR WNR2000 v3 */
-       ATH79_MACH_WP543,               /* Compex WP543 */
-       ATH79_MACH_WPE72,               /* Compex WPE72 */
-       ATH79_MACH_WRT160NL,            /* Linksys WRT160NL */
---- a/arch/mips/ath79/Kconfig
-+++ b/arch/mips/ath79/Kconfig
-@@ -408,6 +408,15 @@ config ATH79_MACH_WNR2000
-       select ATH79_DEV_M25P80
-       select ATH79_DEV_WMAC
-+config ATH79_MACH_WNR2000_V3
-+      bool "NETGEAR WNR2000 V3 board support"
-+      select SOC_AR724X
-+      select ATH79_DEV_AP9X_PCI if PCI
-+      select ATH79_DEV_ETH
-+      select ATH79_DEV_GPIO_BUTTONS
-+      select ATH79_DEV_LEDS_GPIO
-+      select ATH79_DEV_M25P80
-+
- config ATH79_MACH_OM2P
-       bool "OpenMesh OM2P board support"
-       select SOC_AR724X
---- a/arch/mips/ath79/Makefile
-+++ b/arch/mips/ath79/Makefile
-@@ -101,6 +101,7 @@ obj-$(CONFIG_ATH79_MACH_WLAE_AG300N)       +=
- obj-$(CONFIG_ATH79_MACH_WNDR3700)     += mach-wndr3700.o
- obj-$(CONFIG_ATH79_MACH_WNDR4300)     += mach-wndr4300.o
- obj-$(CONFIG_ATH79_MACH_WNR2000)      += mach-wnr2000.o
-+obj-$(CONFIG_ATH79_MACH_WNR2000_V3)   += mach-wnr2000-v3.o
- obj-$(CONFIG_ATH79_MACH_WP543)                += mach-wp543.o
- obj-$(CONFIG_ATH79_MACH_WPE72)                += mach-wpe72.o
- obj-$(CONFIG_ATH79_MACH_WRT160NL)     += mach-wrt160nl.o
diff --git a/target/linux/ar71xx/patches-3.8/618-MIPS-ath79-add-Netgear-WNR2000v3-support.patch b/target/linux/ar71xx/patches-3.8/618-MIPS-ath79-add-Netgear-WNR2000v3-support.patch
new file mode 100644 (file)
index 0000000..aa3edf0
--- /dev/null
@@ -0,0 +1,38 @@
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -120,6 +120,7 @@ enum ath79_mach_type {
+       ATH79_MACH_WNDR3700,            /* NETGEAR WNDR3700/WNDR3800/WNDRMAC */
+       ATH79_MACH_WNDR4300,            /* NETGEAR WNDR4300 */
+       ATH79_MACH_WNR2000,             /* NETGEAR WNR2000 */
++      ATH79_MACH_WNR2000_V3,          /* NETGEAR WNR2000 v3 */
+       ATH79_MACH_WP543,               /* Compex WP543 */
+       ATH79_MACH_WPE72,               /* Compex WPE72 */
+       ATH79_MACH_WRT160NL,            /* Linksys WRT160NL */
+--- a/arch/mips/ath79/Kconfig
++++ b/arch/mips/ath79/Kconfig
+@@ -408,6 +408,15 @@ config ATH79_MACH_WNR2000
+       select ATH79_DEV_M25P80
+       select ATH79_DEV_WMAC
++config ATH79_MACH_WNR2000_V3
++      bool "NETGEAR WNR2000 V3 board support"
++      select SOC_AR724X
++      select ATH79_DEV_AP9X_PCI if PCI
++      select ATH79_DEV_ETH
++      select ATH79_DEV_GPIO_BUTTONS
++      select ATH79_DEV_LEDS_GPIO
++      select ATH79_DEV_M25P80
++
+ config ATH79_MACH_OM2P
+       bool "OpenMesh OM2P board support"
+       select SOC_AR724X
+--- a/arch/mips/ath79/Makefile
++++ b/arch/mips/ath79/Makefile
+@@ -101,6 +101,7 @@ obj-$(CONFIG_ATH79_MACH_WLAE_AG300N)       +=
+ obj-$(CONFIG_ATH79_MACH_WNDR3700)     += mach-wndr3700.o
+ obj-$(CONFIG_ATH79_MACH_WNDR4300)     += mach-wndr4300.o
+ obj-$(CONFIG_ATH79_MACH_WNR2000)      += mach-wnr2000.o
++obj-$(CONFIG_ATH79_MACH_WNR2000_V3)   += mach-wnr2000-v3.o
+ obj-$(CONFIG_ATH79_MACH_WP543)                += mach-wp543.o
+ obj-$(CONFIG_ATH79_MACH_WPE72)                += mach-wpe72.o
+ obj-$(CONFIG_ATH79_MACH_WRT160NL)     += mach-wrt160nl.o