summaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-2.6.25/160-wg302v1_support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.25/160-wg302v1_support.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.25/160-wg302v1_support.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.25/160-wg302v1_support.patch b/target/linux/ixp4xx/patches-2.6.25/160-wg302v1_support.patch
index 0b54355a7..b0b43348d 100644
--- a/target/linux/ixp4xx/patches-2.6.25/160-wg302v1_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.25/160-wg302v1_support.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.25.1/arch/arm/mach-ixp4xx/Kconfig
+Index: linux-2.6.25.4/arch/arm/mach-ixp4xx/Kconfig
===================================================================
---- linux-2.6.25.1.orig/arch/arm/mach-ixp4xx/Kconfig
-+++ linux-2.6.25.1/arch/arm/mach-ixp4xx/Kconfig
+--- linux-2.6.25.4.orig/arch/arm/mach-ixp4xx/Kconfig
++++ linux-2.6.25.4/arch/arm/mach-ixp4xx/Kconfig
@@ -49,6 +49,14 @@ config MACH_GATEWAY7001
7001 Access Point. For more information on this platform,
see http://openwrt.org
@@ -17,10 +17,10 @@ Index: linux-2.6.25.1/arch/arm/mach-ixp4xx/Kconfig
config MACH_WG302V2
bool "Netgear WG302 v2 / WAG302 v2"
select PCI
-Index: linux-2.6.25.1/arch/arm/mach-ixp4xx/Makefile
+Index: linux-2.6.25.4/arch/arm/mach-ixp4xx/Makefile
===================================================================
---- linux-2.6.25.1.orig/arch/arm/mach-ixp4xx/Makefile
-+++ linux-2.6.25.1/arch/arm/mach-ixp4xx/Makefile
+--- linux-2.6.25.4.orig/arch/arm/mach-ixp4xx/Makefile
++++ linux-2.6.25.4/arch/arm/mach-ixp4xx/Makefile
@@ -14,6 +14,7 @@ obj-pci-$(CONFIG_MACH_NSLU2) += nslu2-p
obj-pci-$(CONFIG_MACH_NAS100D) += nas100d-pci.o
obj-pci-$(CONFIG_MACH_DSMG600) += dsmg600-pci.o
@@ -37,10 +37,10 @@ Index: linux-2.6.25.1/arch/arm/mach-ixp4xx/Makefile
obj-$(CONFIG_MACH_WG302V2) += wg302v2-setup.o
obj-$(CONFIG_MACH_FSG) += fsg-setup.o
obj-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-setup.o
-Index: linux-2.6.25.1/arch/arm/mach-ixp4xx/wg302v1-pci.c
+Index: linux-2.6.25.4/arch/arm/mach-ixp4xx/wg302v1-pci.c
===================================================================
--- /dev/null
-+++ linux-2.6.25.1/arch/arm/mach-ixp4xx/wg302v1-pci.c
++++ linux-2.6.25.4/arch/arm/mach-ixp4xx/wg302v1-pci.c
@@ -0,0 +1,63 @@
+/*
+ * arch/arch/mach-ixp4xx/wg302v1-pci.c
@@ -105,10 +105,10 @@ Index: linux-2.6.25.1/arch/arm/mach-ixp4xx/wg302v1-pci.c
+}
+
+subsys_initcall(wg302v1_pci_init);
-Index: linux-2.6.25.1/arch/arm/mach-ixp4xx/wg302v1-setup.c
+Index: linux-2.6.25.4/arch/arm/mach-ixp4xx/wg302v1-setup.c
===================================================================
--- /dev/null
-+++ linux-2.6.25.1/arch/arm/mach-ixp4xx/wg302v1-setup.c
++++ linux-2.6.25.4/arch/arm/mach-ixp4xx/wg302v1-setup.c
@@ -0,0 +1,109 @@
+/*
+ * arch/arm/mach-ixp4xx/wg302v1-setup.c