X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bb1657ec553d594c18f6aa98881b9dd74b0a248f..95d3699b736c21cb23b27589f2138cb396134db8:/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch?ds=sidebyside 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 684db4475..e84ce9b58 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 */ - .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,