aboutsummaryrefslogtreecommitdiffstats
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
commitc3f3c60730962183f4e6c1d51385f4cab31ae667 (patch)
tree66262a90ad050a1a2be5892f28f8944323b10696
parent053485e66e75c4347783c3458be35aa287b4bdf4 (diff)
downloadupstream-c3f3c60730962183f4e6c1d51385f4cab31ae667.tar.gz
upstream-c3f3c60730962183f4e6c1d51385f4cab31ae667.tar.bz2
upstream-c3f3c60730962183f4e6c1d51385f4cab31ae667.zip
ixp4xx: clean up patches, fold the 2.6.37 update patch into the relevant board support patches
SVN-Revision: 25727
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/105-wg302v1_support.patch4
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/110-pronghorn_series_support.patch8
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/115-sidewinder_support.patch4
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch4
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/130-wrt300nv2_support.patch4
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/150-lanready_ap1000_support.patch4
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch6
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/180-tw5334_support.patch4
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/185-mi424wr_support.patch4
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/190-cambria_support.patch4
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/191-cambria_optional_uart.patch18
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/193-cambria_pld_gpio.patch2
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch14
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/500-usr8200_support.patch4
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/520-tw2662_support.patch4
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/601_arm_2.6.37_update.patch130
16 files changed, 32 insertions, 186 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.37/105-wg302v1_support.patch b/target/linux/ixp4xx/patches-2.6.37/105-wg302v1_support.patch
index 6e12caa440..4d2e4a1d34 100644
--- a/target/linux/ixp4xx/patches-2.6.37/105-wg302v1_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/105-wg302v1_support.patch
@@ -112,7 +112,7 @@
+subsys_initcall(wg302v1_pci_init);
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/wg302v1-setup.c
-@@ -0,0 +1,142 @@
+@@ -0,0 +1,140 @@
+/*
+ * arch/arm/mach-ixp4xx/wg302v1-setup.c
+ *
@@ -246,8 +246,6 @@
+#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,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,
diff --git a/target/linux/ixp4xx/patches-2.6.37/110-pronghorn_series_support.patch b/target/linux/ixp4xx/patches-2.6.37/110-pronghorn_series_support.patch
index f3e088b4a0..805dedc111 100644
--- a/target/linux/ixp4xx/patches-2.6.37/110-pronghorn_series_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/110-pronghorn_series_support.patch
@@ -19,7 +19,7 @@
+ bool "ADI Pronghorn series"
+ select PCI
+ help
-+ Say 'Y' here if you want your kernel to support the ADI
++ Say 'Y' here if you want your kernel to support the ADI
+ Engineering Pronghorn series. For more
+ information on this platform, see http://www.adiengineering.com
+
@@ -127,7 +127,7 @@
+subsys_initcall(pronghorn_pci_init);
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/pronghorn-setup.c
-@@ -0,0 +1,245 @@
+@@ -0,0 +1,241 @@
+/*
+ * arch/arm/mach-ixp4xx/pronghorn-setup.c
+ *
@@ -354,8 +354,6 @@
+
+MACHINE_START(PRONGHORN, "ADI Engineering Pronghorn")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,
@@ -365,8 +363,6 @@
+
+MACHINE_START(PRONGHORNMETRO, "ADI Engineering Pronghorn Metro")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,
diff --git a/target/linux/ixp4xx/patches-2.6.37/115-sidewinder_support.patch b/target/linux/ixp4xx/patches-2.6.37/115-sidewinder_support.patch
index 2ec3d95117..6ccedd5304 100644
--- a/target/linux/ixp4xx/patches-2.6.37/115-sidewinder_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/115-sidewinder_support.patch
@@ -130,7 +130,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
+subsys_initcall(sidewinder_pci_init);
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/sidewinder-setup.c
-@@ -0,0 +1,149 @@
+@@ -0,0 +1,147 @@
+/*
+ * arch/arm/mach-ixp4xx/sidewinder-setup.c
+ *
@@ -272,8 +272,6 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
+
+MACHINE_START(SIDEWINDER, "ADI Engineering Sidewinder")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,
diff --git a/target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch b/target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch
index c549314957..b11ffd975c 100644
--- a/target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch
@@ -50,7 +50,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/compex-setup.c
-@@ -0,0 +1,136 @@
+@@ -0,0 +1,134 @@
+/*
+ * arch/arm/mach-ixp4xx/compex-setup.c
+ *
@@ -179,8 +179,6 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
+
+MACHINE_START(COMPEX, "Compex WP18 / NP18A")
+ /* Maintainer: Imre Kaloz <Kaloz@openwrt.org> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,
diff --git a/target/linux/ixp4xx/patches-2.6.37/130-wrt300nv2_support.patch b/target/linux/ixp4xx/patches-2.6.37/130-wrt300nv2_support.patch
index 865bb9d972..4e84e7aac7 100644
--- a/target/linux/ixp4xx/patches-2.6.37/130-wrt300nv2_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/130-wrt300nv2_support.patch
@@ -103,7 +103,7 @@
+subsys_initcall(wrt300nv2_pci_init);
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/wrt300nv2-setup.c
-@@ -0,0 +1,108 @@
+@@ -0,0 +1,106 @@
+/*
+ * arch/arm/mach-ixp4xx/wrt300nv2-setup.c
+ *
@@ -203,8 +203,6 @@
+#ifdef CONFIG_MACH_WRT300NV2
+MACHINE_START(WRT300NV2, "Linksys WRT300N v2")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,
diff --git a/target/linux/ixp4xx/patches-2.6.37/150-lanready_ap1000_support.patch b/target/linux/ixp4xx/patches-2.6.37/150-lanready_ap1000_support.patch
index 16f19baf23..8b7c98eb73 100644
--- a/target/linux/ixp4xx/patches-2.6.37/150-lanready_ap1000_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/150-lanready_ap1000_support.patch
@@ -1,6 +1,6 @@
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/ap1000-setup.c
-@@ -0,0 +1,151 @@
+@@ -0,0 +1,149 @@
+/*
+ * arch/arm/mach-ixp4xx/ap1000-setup.c
+ *
@@ -142,8 +142,6 @@
+#ifdef CONFIG_MACH_AP1000
+MACHINE_START(AP1000, "Lanready AP-1000")
+ /* Maintainer: Imre Kaloz <Kaloz@openwrt.org> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .fixup = ap1000_fixup,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
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,
diff --git a/target/linux/ixp4xx/patches-2.6.37/180-tw5334_support.patch b/target/linux/ixp4xx/patches-2.6.37/180-tw5334_support.patch
index e92d4614a0..d609cd7d4b 100644
--- a/target/linux/ixp4xx/patches-2.6.37/180-tw5334_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/180-tw5334_support.patch
@@ -35,7 +35,7 @@
obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/tw5334-setup.c
-@@ -0,0 +1,163 @@
+@@ -0,0 +1,161 @@
+/*
+ * arch/arm/mach-ixp4xx/tw5334-setup.c
+ *
@@ -190,8 +190,6 @@
+#ifdef CONFIG_MACH_TW5334
+MACHINE_START(TW5334, "Titan Wireless TW-533-4")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,
diff --git a/target/linux/ixp4xx/patches-2.6.37/185-mi424wr_support.patch b/target/linux/ixp4xx/patches-2.6.37/185-mi424wr_support.patch
index d85d3d1132..85c3e64263 100644
--- a/target/linux/ixp4xx/patches-2.6.37/185-mi424wr_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/185-mi424wr_support.patch
@@ -74,7 +74,7 @@
+
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/mi424wr-setup.c
-@@ -0,0 +1,344 @@
+@@ -0,0 +1,342 @@
+/*
+ * arch/arm/mach-ixp4xx/mi424wr-setup.c
+ *
@@ -410,8 +410,6 @@
+
+MACHINE_START(MI424WR, "Actiontec MI424WR")
+ /* Maintainer: Jose Vasconcellos */
-+ .phys_io = IXP4XX_UART2_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_UART2_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,
diff --git a/target/linux/ixp4xx/patches-2.6.37/190-cambria_support.patch b/target/linux/ixp4xx/patches-2.6.37/190-cambria_support.patch
index 683d8be68a..32199d8c31 100644
--- a/target/linux/ixp4xx/patches-2.6.37/190-cambria_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/190-cambria_support.patch
@@ -77,7 +77,7 @@
+subsys_initcall(cambria_pci_init);
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/cambria-setup.c
-@@ -0,0 +1,429 @@
+@@ -0,0 +1,427 @@
+/*
+ * arch/arm/mach-ixp4xx/cambria-setup.c
+ *
@@ -499,8 +499,6 @@
+
+MACHINE_START(CAMBRIA, "Gateworks Cambria series")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,
diff --git a/target/linux/ixp4xx/patches-2.6.37/191-cambria_optional_uart.patch b/target/linux/ixp4xx/patches-2.6.37/191-cambria_optional_uart.patch
index 099980b80a..603cf3cc66 100644
--- a/target/linux/ixp4xx/patches-2.6.37/191-cambria_optional_uart.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/191-cambria_optional_uart.patch
@@ -124,7 +124,7 @@
unsigned int custom_divisor;
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
-@@ -412,6 +412,20 @@ static void mem_serial_out(struct uart_p
+@@ -413,6 +413,20 @@ static void mem_serial_out(struct uart_p
writeb(value, p->membase + offset);
}
@@ -145,7 +145,7 @@
static void mem32_serial_out(struct uart_port *p, int offset, int value)
{
offset = map_8250_out_reg(p, offset) << p->regshift;
-@@ -503,6 +517,11 @@ static void set_io_from_upio(struct uart
+@@ -504,6 +518,11 @@ static void set_io_from_upio(struct uart
p->serial_out = mem32_serial_out;
break;
@@ -157,7 +157,7 @@
case UPIO_AU:
p->serial_in = au_serial_in;
p->serial_out = au_serial_out;
-@@ -534,6 +553,7 @@ serial_out_sync(struct uart_8250_port *u
+@@ -535,6 +554,7 @@ serial_out_sync(struct uart_8250_port *u
switch (p->iotype) {
case UPIO_MEM:
case UPIO_MEM32:
@@ -165,7 +165,7 @@
case UPIO_AU:
case UPIO_DWAPB:
p->serial_out(p, offset, value);
-@@ -2476,6 +2496,7 @@ static int serial8250_request_std_resour
+@@ -2477,6 +2497,7 @@ static int serial8250_request_std_resour
case UPIO_MEM32:
case UPIO_MEM:
case UPIO_DWAPB:
@@ -173,7 +173,7 @@
if (!up->port.mapbase)
break;
-@@ -2513,6 +2534,7 @@ static void serial8250_release_std_resou
+@@ -2514,6 +2535,7 @@ static void serial8250_release_std_resou
case UPIO_MEM32:
case UPIO_MEM:
case UPIO_DWAPB:
@@ -181,7 +181,7 @@
if (!up->port.mapbase)
break;
-@@ -3024,6 +3046,7 @@ static int __devinit serial8250_probe(st
+@@ -3025,6 +3047,7 @@ static int __devinit serial8250_probe(st
port.set_termios = p->set_termios;
port.pm = p->pm;
port.dev = &dev->dev;
@@ -189,7 +189,7 @@
port.irqflags |= irqflag;
ret = serial8250_register_port(&port);
if (ret < 0) {
-@@ -3173,6 +3196,7 @@ int serial8250_register_port(struct uart
+@@ -3174,6 +3197,7 @@ int serial8250_register_port(struct uart
uart->port.iotype = port->iotype;
uart->port.flags = port->flags | UPF_BOOT_AUTOCONF;
uart->port.mapbase = port->mapbase;
@@ -199,7 +199,7 @@
uart->port.dev = port->dev;
--- a/drivers/serial/serial_core.c
+++ b/drivers/serial/serial_core.c
-@@ -2130,6 +2130,7 @@ uart_report_port(struct uart_driver *drv
+@@ -2129,6 +2129,7 @@ uart_report_port(struct uart_driver *drv
snprintf(address, sizeof(address),
"I/O 0x%lx offset 0x%x", port->iobase, port->hub6);
break;
@@ -207,7 +207,7 @@
case UPIO_MEM:
case UPIO_MEM32:
case UPIO_AU:
-@@ -2550,6 +2551,7 @@ int uart_match_port(struct uart_port *po
+@@ -2549,6 +2550,7 @@ int uart_match_port(struct uart_port *po
case UPIO_HUB6:
return (port1->iobase == port2->iobase) &&
(port1->hub6 == port2->hub6);
diff --git a/target/linux/ixp4xx/patches-2.6.37/193-cambria_pld_gpio.patch b/target/linux/ixp4xx/patches-2.6.37/193-cambria_pld_gpio.patch
index 171898d6c7..299630f171 100644
--- a/target/linux/ixp4xx/patches-2.6.37/193-cambria_pld_gpio.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/193-cambria_pld_gpio.patch
@@ -90,7 +90,7 @@
}
static struct cambria_board_info cambria_boards[] __initdata = {
-@@ -460,6 +507,14 @@ static struct i2c_board_info __initdata
+@@ -460,6 +507,14 @@ static struct i2c_board_info __initdata
I2C_BOARD_INFO("24c08", 0x51),
.platform_data = &cambria_eeprom_info
},
diff --git a/target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch b/target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch
index 1dc2690ac1..4d399f75dc 100644
--- a/target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch
@@ -1,8 +1,8 @@
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
-@@ -176,6 +176,13 @@ config LEDS_LP3944
- To compile this driver as a module, choose M here: the
- module will be called leds-lp3944.
+@@ -210,6 +210,13 @@ config LEDS_LP5523
+ Driver provides direct control via LED class and interface for
+ programming the engines.
+config LEDS_LATCH
+ tristate "LED Support for Memory Latched LEDs"
@@ -13,7 +13,7 @@
+
config LEDS_CLEVO_MAIL
tristate "Mail LED on Clevo notebook"
- depends on X86 && SERIO_I8042 && DMI
+ depends on LEDS_CLASS
--- /dev/null
+++ b/drivers/leds/leds-latch.c
@@ -0,0 +1,150 @@
@@ -175,11 +175,11 @@
obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
+obj-$(CONFIG_LEDS_LATCH) += leds-latch.o
obj-$(CONFIG_LEDS_LP3944) += leds-lp3944.o
- obj-$(CONFIG_LEDS_CLEVO_MAIL) += leds-clevo-mail.o
- obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o
+ obj-$(CONFIG_LEDS_LP5521) += leds-lp5521.o
+ obj-$(CONFIG_LEDS_LP5523) += leds-lp5523.o
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
-@@ -165,5 +165,19 @@ struct gpio_led_platform_data {
+@@ -204,5 +204,19 @@ struct gpio_led_platform_data {
unsigned long *delay_off);
};
diff --git a/target/linux/ixp4xx/patches-2.6.37/500-usr8200_support.patch b/target/linux/ixp4xx/patches-2.6.37/500-usr8200_support.patch
index e757ff301c..3c32295947 100644
--- a/target/linux/ixp4xx/patches-2.6.37/500-usr8200_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/500-usr8200_support.patch
@@ -116,7 +116,7 @@
+subsys_initcall(usr8200_pci_init);
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
-@@ -0,0 +1,212 @@
+@@ -0,0 +1,210 @@
+/*
+ * arch/arm/mach-ixp4xx/usr8200-setup.c
+ *
@@ -321,8 +321,6 @@
+
+MACHINE_START(USR8200, "USRobotics USR8200")
+ /* Maintainer: Peter Denison <openwrt@marshadder.org> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,
diff --git a/target/linux/ixp4xx/patches-2.6.37/520-tw2662_support.patch b/target/linux/ixp4xx/patches-2.6.37/520-tw2662_support.patch
index 3fde579c10..8b50b90cb4 100644
--- a/target/linux/ixp4xx/patches-2.6.37/520-tw2662_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/520-tw2662_support.patch
@@ -118,7 +118,7 @@
+subsys_initcall(tw2662_pci_init);
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/tw2662-setup.c
-@@ -0,0 +1,212 @@
+@@ -0,0 +1,210 @@
+/*
+ * arch/arm/mach-ixp4xx/tw2662-setup.c
+ *
@@ -321,8 +321,6 @@
+#ifdef CONFIG_MACH_TW2662
+MACHINE_START(TW2662, "Titan Wireless TW-266-2")
+ /* Maintainer: Alexandros C. Couloumbis <alex@ozo.com> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .fixup = tw2662_fixup,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
diff --git a/target/linux/ixp4xx/patches-2.6.37/601_arm_2.6.37_update.patch b/target/linux/ixp4xx/patches-2.6.37/601_arm_2.6.37_update.patch
deleted file mode 100644
index 76b6a3e97c..0000000000
--- a/target/linux/ixp4xx/patches-2.6.37/601_arm_2.6.37_update.patch
+++ /dev/null
@@ -1,130 +0,0 @@
---- a/arch/arm/mach-ixp4xx/ap1000-setup.c
-+++ b/arch/arm/mach-ixp4xx/ap1000-setup.c
-@@ -167,8 +167,6 @@ static void __init ap1000_init(void)
- #ifdef CONFIG_MACH_AP1000
- MACHINE_START(AP1000, "Lanready AP-1000")
- /* Maintainer: Imre Kaloz <Kaloz@openwrt.org> */
-- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
- .fixup = ap1000_fixup,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
---- a/arch/arm/mach-ixp4xx/cambria-setup.c
-+++ b/arch/arm/mach-ixp4xx/cambria-setup.c
-@@ -563,8 +563,6 @@ late_initcall(cambria_model_setup);
-
- MACHINE_START(CAMBRIA, "Gateworks Cambria series")
- /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
- .timer = &ixp4xx_timer,
---- a/arch/arm/mach-ixp4xx/compex-setup.c
-+++ b/arch/arm/mach-ixp4xx/compex-setup.c
-@@ -126,8 +126,6 @@ static void __init compex_init(void)
-
- MACHINE_START(COMPEX, "Compex WP18 / NP18A")
- /* Maintainer: Imre Kaloz <Kaloz@openwrt.org> */
-- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
- .timer = &ixp4xx_timer,
---- a/arch/arm/mach-ixp4xx/mi424wr-setup.c
-+++ b/arch/arm/mach-ixp4xx/mi424wr-setup.c
-@@ -333,8 +333,6 @@ static void __init mi424wr_init(void)
-
- MACHINE_START(MI424WR, "Actiontec MI424WR")
- /* Maintainer: Jose Vasconcellos */
-- .phys_io = IXP4XX_UART2_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_UART2_BASE_VIRT) >> 18) & 0xfffc,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
- .timer = &ixp4xx_timer,
---- a/arch/arm/mach-ixp4xx/pronghorn-setup.c
-+++ b/arch/arm/mach-ixp4xx/pronghorn-setup.c
-@@ -224,8 +224,6 @@ static void __init pronghorn_init(void)
-
- MACHINE_START(PRONGHORN, "ADI Engineering Pronghorn")
- /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
- .timer = &ixp4xx_timer,
-@@ -235,8 +233,6 @@ MACHINE_END
-
- MACHINE_START(PRONGHORNMETRO, "ADI Engineering Pronghorn Metro")
- /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
- .timer = &ixp4xx_timer,
---- a/arch/arm/mach-ixp4xx/sidewinder-setup.c
-+++ b/arch/arm/mach-ixp4xx/sidewinder-setup.c
-@@ -139,8 +139,6 @@ static void __init sidewinder_init(void)
-
- MACHINE_START(SIDEWINDER, "ADI Engineering Sidewinder")
- /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
- .timer = &ixp4xx_timer,
---- a/arch/arm/mach-ixp4xx/tw2662-setup.c
-+++ b/arch/arm/mach-ixp4xx/tw2662-setup.c
-@@ -200,8 +200,6 @@ static void __init tw2662_init(void)
- #ifdef CONFIG_MACH_TW2662
- MACHINE_START(TW2662, "Titan Wireless TW-266-2")
- /* Maintainer: Alexandros C. Couloumbis <alex@ozo.com> */
-- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
- .fixup = tw2662_fixup,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
---- a/arch/arm/mach-ixp4xx/tw5334-setup.c
-+++ b/arch/arm/mach-ixp4xx/tw5334-setup.c
-@@ -152,8 +152,6 @@ static void __init tw5334_init(void)
- #ifdef CONFIG_MACH_TW5334
- MACHINE_START(TW5334, "Titan Wireless TW-533-4")
- /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
- .timer = &ixp4xx_timer,
---- a/arch/arm/mach-ixp4xx/usr8200-setup.c
-+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
-@@ -202,8 +202,6 @@ static void __init usr8200_init(void)
-
- MACHINE_START(USR8200, "USRobotics USR8200")
- /* Maintainer: Peter Denison <openwrt@marshadder.org> */
-- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
- .timer = &ixp4xx_timer,
---- a/arch/arm/mach-ixp4xx/wg302v1-setup.c
-+++ b/arch/arm/mach-ixp4xx/wg302v1-setup.c
-@@ -161,8 +161,6 @@ 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,
---- a/arch/arm/mach-ixp4xx/wrt300nv2-setup.c
-+++ b/arch/arm/mach-ixp4xx/wrt300nv2-setup.c
-@@ -157,8 +157,6 @@ static void __init wrt300nv2_init(void)
- #ifdef CONFIG_MACH_WRT300NV2
- MACHINE_START(WRT300NV2, "Linksys WRT300N v2")
- /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
-- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
- .map_io = ixp4xx_map_io,
- .init_irq = ixp4xx_init_irq,
- .timer = &ixp4xx_timer,