aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-26 06:23:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-26 06:23:32 +0000
commitb098bd68748ef059c6a1f65b19b65c3aeef2b2b0 (patch)
treef18d4db2e3dfa5e42dd0e91462d665efad563633 /target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch
parent0ca65fd7bf04d9e654dbf3a6f448f2141d47f76b (diff)
downloadmaster-187ad058-b098bd68748ef059c6a1f65b19b65c3aeef2b2b0.tar.gz
master-187ad058-b098bd68748ef059c6a1f65b19b65c3aeef2b2b0.tar.bz2
master-187ad058-b098bd68748ef059c6a1f65b19b65c3aeef2b2b0.zip
ixp4xx: clean up patches, fold the 2.6.37 update patch into the relevant board support patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25727 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch b/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch
index 684db44751..e84ce9b582 100644
--- a/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch
@@ -37,10 +37,10 @@
static void __init wg302v1_init(void)
{
ixp4xx_sys_init();
-@@ -133,6 +163,7 @@ MACHINE_START(WG302V1, "Netgear WG302 v1
+@@ -131,6 +161,7 @@ static void __init wg302v1_init(void)
+ #ifdef CONFIG_MACH_WG302V1
+ MACHINE_START(WG302V1, "Netgear WG302 v1 / WAG302 v1")
/* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .fixup = wg302v1_fixup,
.map_io = ixp4xx_map_io,
.init_irq = ixp4xx_init_irq,