ixp4xx: clean up patches, fold the 2.6.37 update patch into the relevant board suppor...
[openwrt/svn-archive/archive.git] / target / linux / ixp4xx / patches-2.6.37 / 162-wg302v1_mem_fixup.patch
index 684db44751338ed1aad740f737a777c0848cafc4..e84ce9b5826a3bad5120945100ab25c258d8b868 100644 (file)
  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,