ixp4xx: clean up patches, fold the 2.6.37 update patch into the relevant board support patches

SVN-Revision: 25727
This commit is contained in:
Felix Fietkau 2011-02-26 06:23:32 +00:00
parent 053485e66e
commit c3f3c60730
16 changed files with 32 additions and 186 deletions

View file

@ -112,7 +112,7 @@
+subsys_initcall(wg302v1_pci_init); +subsys_initcall(wg302v1_pci_init);
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/wg302v1-setup.c +++ b/arch/arm/mach-ixp4xx/wg302v1-setup.c
@@ -0,0 +1,142 @@ @@ -0,0 +1,140 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/wg302v1-setup.c + * arch/arm/mach-ixp4xx/wg302v1-setup.c
+ * + *
@ -246,8 +246,6 @@
+#ifdef CONFIG_MACH_WG302V1 +#ifdef CONFIG_MACH_WG302V1
+MACHINE_START(WG302V1, "Netgear WG302 v1 / WAG302 v1") +MACHINE_START(WG302V1, "Netgear WG302 v1 / WAG302 v1")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */ + /* 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, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer, + .timer = &ixp4xx_timer,

View file

@ -127,7 +127,7 @@
+subsys_initcall(pronghorn_pci_init); +subsys_initcall(pronghorn_pci_init);
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/pronghorn-setup.c +++ b/arch/arm/mach-ixp4xx/pronghorn-setup.c
@@ -0,0 +1,245 @@ @@ -0,0 +1,241 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/pronghorn-setup.c + * arch/arm/mach-ixp4xx/pronghorn-setup.c
+ * + *
@ -354,8 +354,6 @@
+ +
+MACHINE_START(PRONGHORN, "ADI Engineering Pronghorn") +MACHINE_START(PRONGHORN, "ADI Engineering Pronghorn")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */ + /* 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, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer, + .timer = &ixp4xx_timer,
@ -365,8 +363,6 @@
+ +
+MACHINE_START(PRONGHORNMETRO, "ADI Engineering Pronghorn Metro") +MACHINE_START(PRONGHORNMETRO, "ADI Engineering Pronghorn Metro")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */ + /* 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, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer, + .timer = &ixp4xx_timer,

View file

@ -130,7 +130,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
+subsys_initcall(sidewinder_pci_init); +subsys_initcall(sidewinder_pci_init);
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/sidewinder-setup.c +++ b/arch/arm/mach-ixp4xx/sidewinder-setup.c
@@ -0,0 +1,149 @@ @@ -0,0 +1,147 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/sidewinder-setup.c + * 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") +MACHINE_START(SIDEWINDER, "ADI Engineering Sidewinder")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */ + /* 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, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer, + .timer = &ixp4xx_timer,

View file

@ -50,7 +50,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/compex-setup.c +++ b/arch/arm/mach-ixp4xx/compex-setup.c
@@ -0,0 +1,136 @@ @@ -0,0 +1,134 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/compex-setup.c + * 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") +MACHINE_START(COMPEX, "Compex WP18 / NP18A")
+ /* Maintainer: Imre Kaloz <Kaloz@openwrt.org> */ + /* 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, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer, + .timer = &ixp4xx_timer,

View file

@ -103,7 +103,7 @@
+subsys_initcall(wrt300nv2_pci_init); +subsys_initcall(wrt300nv2_pci_init);
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/wrt300nv2-setup.c +++ b/arch/arm/mach-ixp4xx/wrt300nv2-setup.c
@@ -0,0 +1,108 @@ @@ -0,0 +1,106 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/wrt300nv2-setup.c + * arch/arm/mach-ixp4xx/wrt300nv2-setup.c
+ * + *
@ -203,8 +203,6 @@
+#ifdef CONFIG_MACH_WRT300NV2 +#ifdef CONFIG_MACH_WRT300NV2
+MACHINE_START(WRT300NV2, "Linksys WRT300N v2") +MACHINE_START(WRT300NV2, "Linksys WRT300N v2")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */ + /* 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, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer, + .timer = &ixp4xx_timer,

View file

@ -1,6 +1,6 @@
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/ap1000-setup.c +++ b/arch/arm/mach-ixp4xx/ap1000-setup.c
@@ -0,0 +1,151 @@ @@ -0,0 +1,149 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/ap1000-setup.c + * arch/arm/mach-ixp4xx/ap1000-setup.c
+ * + *
@ -142,8 +142,6 @@
+#ifdef CONFIG_MACH_AP1000 +#ifdef CONFIG_MACH_AP1000
+MACHINE_START(AP1000, "Lanready AP-1000") +MACHINE_START(AP1000, "Lanready AP-1000")
+ /* Maintainer: Imre Kaloz <Kaloz@openwrt.org> */ + /* Maintainer: Imre Kaloz <Kaloz@openwrt.org> */
+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .fixup = ap1000_fixup, + .fixup = ap1000_fixup,
+ .map_io = ixp4xx_map_io, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,

View file

@ -37,10 +37,10 @@
static void __init wg302v1_init(void) static void __init wg302v1_init(void)
{ {
ixp4xx_sys_init(); 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> */ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
.phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
.io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .fixup = wg302v1_fixup, + .fixup = wg302v1_fixup,
.map_io = ixp4xx_map_io, .map_io = ixp4xx_map_io,
.init_irq = ixp4xx_init_irq, .init_irq = ixp4xx_init_irq,

View file

@ -35,7 +35,7 @@
obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/tw5334-setup.c +++ b/arch/arm/mach-ixp4xx/tw5334-setup.c
@@ -0,0 +1,163 @@ @@ -0,0 +1,161 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/tw5334-setup.c + * arch/arm/mach-ixp4xx/tw5334-setup.c
+ * + *
@ -190,8 +190,6 @@
+#ifdef CONFIG_MACH_TW5334 +#ifdef CONFIG_MACH_TW5334
+MACHINE_START(TW5334, "Titan Wireless TW-533-4") +MACHINE_START(TW5334, "Titan Wireless TW-533-4")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */ + /* 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, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer, + .timer = &ixp4xx_timer,

View file

@ -74,7 +74,7 @@
+ +
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/mi424wr-setup.c +++ b/arch/arm/mach-ixp4xx/mi424wr-setup.c
@@ -0,0 +1,344 @@ @@ -0,0 +1,342 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/mi424wr-setup.c + * arch/arm/mach-ixp4xx/mi424wr-setup.c
+ * + *
@ -410,8 +410,6 @@
+ +
+MACHINE_START(MI424WR, "Actiontec MI424WR") +MACHINE_START(MI424WR, "Actiontec MI424WR")
+ /* Maintainer: Jose Vasconcellos */ + /* Maintainer: Jose Vasconcellos */
+ .phys_io = IXP4XX_UART2_BASE_PHYS,
+ .io_pg_offst = ((IXP4XX_UART2_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer, + .timer = &ixp4xx_timer,

View file

@ -77,7 +77,7 @@
+subsys_initcall(cambria_pci_init); +subsys_initcall(cambria_pci_init);
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/cambria-setup.c +++ b/arch/arm/mach-ixp4xx/cambria-setup.c
@@ -0,0 +1,429 @@ @@ -0,0 +1,427 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/cambria-setup.c + * arch/arm/mach-ixp4xx/cambria-setup.c
+ * + *
@ -499,8 +499,6 @@
+ +
+MACHINE_START(CAMBRIA, "Gateworks Cambria series") +MACHINE_START(CAMBRIA, "Gateworks Cambria series")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */ + /* 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, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer, + .timer = &ixp4xx_timer,

View file

@ -124,7 +124,7 @@
unsigned int custom_divisor; unsigned int custom_divisor;
--- a/drivers/serial/8250.c --- a/drivers/serial/8250.c
+++ b/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); writeb(value, p->membase + offset);
} }
@ -145,7 +145,7 @@
static void mem32_serial_out(struct uart_port *p, int offset, int value) static void mem32_serial_out(struct uart_port *p, int offset, int value)
{ {
offset = map_8250_out_reg(p, offset) << p->regshift; 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; p->serial_out = mem32_serial_out;
break; break;
@ -157,7 +157,7 @@
case UPIO_AU: case UPIO_AU:
p->serial_in = au_serial_in; p->serial_in = au_serial_in;
p->serial_out = au_serial_out; 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) { switch (p->iotype) {
case UPIO_MEM: case UPIO_MEM:
case UPIO_MEM32: case UPIO_MEM32:
@ -165,7 +165,7 @@
case UPIO_AU: case UPIO_AU:
case UPIO_DWAPB: case UPIO_DWAPB:
p->serial_out(p, offset, value); 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_MEM32:
case UPIO_MEM: case UPIO_MEM:
case UPIO_DWAPB: case UPIO_DWAPB:
@ -173,7 +173,7 @@
if (!up->port.mapbase) if (!up->port.mapbase)
break; 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_MEM32:
case UPIO_MEM: case UPIO_MEM:
case UPIO_DWAPB: case UPIO_DWAPB:
@ -181,7 +181,7 @@
if (!up->port.mapbase) if (!up->port.mapbase)
break; 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.set_termios = p->set_termios;
port.pm = p->pm; port.pm = p->pm;
port.dev = &dev->dev; port.dev = &dev->dev;
@ -189,7 +189,7 @@
port.irqflags |= irqflag; port.irqflags |= irqflag;
ret = serial8250_register_port(&port); ret = serial8250_register_port(&port);
if (ret < 0) { 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.iotype = port->iotype;
uart->port.flags = port->flags | UPF_BOOT_AUTOCONF; uart->port.flags = port->flags | UPF_BOOT_AUTOCONF;
uart->port.mapbase = port->mapbase; uart->port.mapbase = port->mapbase;
@ -199,7 +199,7 @@
uart->port.dev = port->dev; uart->port.dev = port->dev;
--- a/drivers/serial/serial_core.c --- a/drivers/serial/serial_core.c
+++ b/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), snprintf(address, sizeof(address),
"I/O 0x%lx offset 0x%x", port->iobase, port->hub6); "I/O 0x%lx offset 0x%x", port->iobase, port->hub6);
break; break;
@ -207,7 +207,7 @@
case UPIO_MEM: case UPIO_MEM:
case UPIO_MEM32: case UPIO_MEM32:
case UPIO_AU: 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: case UPIO_HUB6:
return (port1->iobase == port2->iobase) && return (port1->iobase == port2->iobase) &&
(port1->hub6 == port2->hub6); (port1->hub6 == port2->hub6);

View file

@ -1,8 +1,8 @@
--- a/drivers/leds/Kconfig --- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig
@@ -176,6 +176,13 @@ config LEDS_LP3944 @@ -210,6 +210,13 @@ config LEDS_LP5523
To compile this driver as a module, choose M here: the Driver provides direct control via LED class and interface for
module will be called leds-lp3944. programming the engines.
+config LEDS_LATCH +config LEDS_LATCH
+ tristate "LED Support for Memory Latched LEDs" + tristate "LED Support for Memory Latched LEDs"
@ -13,7 +13,7 @@
+ +
config LEDS_CLEVO_MAIL config LEDS_CLEVO_MAIL
tristate "Mail LED on Clevo notebook" tristate "Mail LED on Clevo notebook"
depends on X86 && SERIO_I8042 && DMI depends on LEDS_CLASS
--- /dev/null --- /dev/null
+++ b/drivers/leds/leds-latch.c +++ b/drivers/leds/leds-latch.c
@@ -0,0 +1,150 @@ @@ -0,0 +1,150 @@
@ -175,11 +175,11 @@
obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
+obj-$(CONFIG_LEDS_LATCH) += leds-latch.o +obj-$(CONFIG_LEDS_LATCH) += leds-latch.o
obj-$(CONFIG_LEDS_LP3944) += leds-lp3944.o obj-$(CONFIG_LEDS_LP3944) += leds-lp3944.o
obj-$(CONFIG_LEDS_CLEVO_MAIL) += leds-clevo-mail.o obj-$(CONFIG_LEDS_LP5521) += leds-lp5521.o
obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o obj-$(CONFIG_LEDS_LP5523) += leds-lp5523.o
--- a/include/linux/leds.h --- a/include/linux/leds.h
+++ b/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); unsigned long *delay_off);
}; };

View file

@ -116,7 +116,7 @@
+subsys_initcall(usr8200_pci_init); +subsys_initcall(usr8200_pci_init);
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c +++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
@@ -0,0 +1,212 @@ @@ -0,0 +1,210 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/usr8200-setup.c + * arch/arm/mach-ixp4xx/usr8200-setup.c
+ * + *
@ -321,8 +321,6 @@
+ +
+MACHINE_START(USR8200, "USRobotics USR8200") +MACHINE_START(USR8200, "USRobotics USR8200")
+ /* Maintainer: Peter Denison <openwrt@marshadder.org> */ + /* 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, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer, + .timer = &ixp4xx_timer,

View file

@ -118,7 +118,7 @@
+subsys_initcall(tw2662_pci_init); +subsys_initcall(tw2662_pci_init);
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-ixp4xx/tw2662-setup.c +++ b/arch/arm/mach-ixp4xx/tw2662-setup.c
@@ -0,0 +1,212 @@ @@ -0,0 +1,210 @@
+/* +/*
+ * arch/arm/mach-ixp4xx/tw2662-setup.c + * arch/arm/mach-ixp4xx/tw2662-setup.c
+ * + *
@ -321,8 +321,6 @@
+#ifdef CONFIG_MACH_TW2662 +#ifdef CONFIG_MACH_TW2662
+MACHINE_START(TW2662, "Titan Wireless TW-266-2") +MACHINE_START(TW2662, "Titan Wireless TW-266-2")
+ /* Maintainer: Alexandros C. Couloumbis <alex@ozo.com> */ + /* 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, + .fixup = tw2662_fixup,
+ .map_io = ixp4xx_map_io, + .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq, + .init_irq = ixp4xx_init_irq,

View file

@ -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,