ixp4xx: add missing reboot handlers (fixes #11577, backport of r33672)
authorFelix Fietkau <nbd@openwrt.org>
Tue, 9 Oct 2012 15:39:36 +0000 (15:39 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 9 Oct 2012 15:39:36 +0000 (15:39 +0000)
SVN-Revision: 33673

12 files changed:
target/linux/ixp4xx/patches-3.3/105-wg302v1_support.patch
target/linux/ixp4xx/patches-3.3/110-pronghorn_series_support.patch
target/linux/ixp4xx/patches-3.3/115-sidewinder_support.patch
target/linux/ixp4xx/patches-3.3/120-compex_support.patch
target/linux/ixp4xx/patches-3.3/130-wrt300nv2_support.patch
target/linux/ixp4xx/patches-3.3/150-lanready_ap1000_support.patch
target/linux/ixp4xx/patches-3.3/160-delayed_uart_io.patch
target/linux/ixp4xx/patches-3.3/180-tw5334_support.patch
target/linux/ixp4xx/patches-3.3/185-mi424wr_support.patch
target/linux/ixp4xx/patches-3.3/190-cambria_support.patch
target/linux/ixp4xx/patches-3.3/500-usr8200_support.patch
target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch

index 1e8fdaa..c9d5b94 100644 (file)
 +subsys_initcall(wg302v1_pci_init);
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/wg302v1-setup.c
-@@ -0,0 +1,144 @@
+@@ -0,0 +1,145 @@
 +/*
 + * arch/arm/mach-ixp4xx/wg302v1-setup.c
 + *
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 +#endif
index 529cddb..f795fb5 100644 (file)
 +subsys_initcall(pronghorn_pci_init);
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/pronghorn-setup.c
-@@ -0,0 +1,247 @@
+@@ -0,0 +1,249 @@
 +/*
 + * arch/arm/mach-ixp4xx/pronghorn-setup.c
 + *
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 +
 +MACHINE_START(PRONGHORNMETRO, "ADI Engineering Pronghorn Metro")
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 --- a/arch/arm/mach-ixp4xx/include/mach/uncompress.h
 +++ b/arch/arm/mach-ixp4xx/include/mach/uncompress.h
index f2e626d..0ffd839 100644 (file)
@@ -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,150 @@
+@@ -0,0 +1,151 @@
 +/*
 + * arch/arm/mach-ixp4xx/sidewinder-setup.c
 + *
@@ -280,4 +280,5 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
index da59f4c..3166f67 100644 (file)
@@ -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,137 @@
+@@ -0,0 +1,138 @@
 +/*
 + * arch/arm/mach-ixp4xx/compex-setup.c
 + *
@@ -187,6 +187,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 --- a/arch/arm/mach-ixp4xx/ixdp425-pci.c
 +++ b/arch/arm/mach-ixp4xx/ixdp425-pci.c
index caa2b38..638af29 100644 (file)
 +subsys_initcall(wrt300nv2_pci_init);
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/wrt300nv2-setup.c
-@@ -0,0 +1,109 @@
+@@ -0,0 +1,110 @@
 +/*
 + * arch/arm/mach-ixp4xx/wrt300nv2-setup.c
 + *
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 +#endif
 --- a/arch/arm/mach-ixp4xx/include/mach/uncompress.h
index da3c143..c2b25b3 100644 (file)
@@ -1,6 +1,6 @@
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/ap1000-setup.c
-@@ -0,0 +1,152 @@
+@@ -0,0 +1,153 @@
 +/*
 + * arch/arm/mach-ixp4xx/ap1000-setup.c
 + *
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 +#endif
 --- a/arch/arm/mach-ixp4xx/ixdp425-pci.c
index a3b1f25..18d9397 100644 (file)
@@ -112,7 +112,7 @@ Add a new UART I/O type for slow busses such as the ixp4xx expansion bus
        case UPIO_MEM:
        case UPIO_MEM32:
        case UPIO_AU:
-@@ -2435,6 +2436,7 @@ int uart_match_port(struct uart_port *po
+@@ -2436,6 +2437,7 @@ int uart_match_port(struct uart_port *po
        case UPIO_HUB6:
                return (port1->iobase == port2->iobase) &&
                       (port1->hub6   == port2->hub6);
index 2b6f0f0..7d5a6f2 100644 (file)
@@ -35,7 +35,7 @@
  obj-$(CONFIG_IXP4XX_QMGR)     += ixp4xx_qmgr.o
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/tw5334-setup.c
-@@ -0,0 +1,164 @@
+@@ -0,0 +1,165 @@
 +/*
 + * arch/arm/mach-ixp4xx/tw5334-setup.c
 + *
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 +#endif
 --- /dev/null
index 08ad726..4d61cee 100644 (file)
@@ -74,7 +74,7 @@
 +
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/mi424wr-setup.c
-@@ -0,0 +1,380 @@
+@@ -0,0 +1,381 @@
 +/*
 + * arch/arm/mach-ixp4xx/mi424wr-setup.c
 + *
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 +
 --- a/arch/arm/mach-ixp4xx/Makefile
index 6cee21e..57dfdac 100644 (file)
@@ -82,7 +82,7 @@
 +subsys_initcall(cambria_pci_init);
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/cambria-setup.c
-@@ -0,0 +1,1005 @@
+@@ -0,0 +1,1006 @@
 +/*
 + * arch/arm/mach-ixp4xx/cambria-setup.c
 + *
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 --- a/arch/arm/mach-ixp4xx/Kconfig
 +++ b/arch/arm/mach-ixp4xx/Kconfig
index 8ce1b41..38a6388 100644 (file)
 +subsys_initcall(usr8200_pci_init);
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
-@@ -0,0 +1,213 @@
+@@ -0,0 +1,214 @@
 +/*
 + * arch/arm/mach-ixp4xx/usr8200-setup.c
 + *
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 --- a/arch/arm/mach-ixp4xx/include/mach/uncompress.h
 +++ b/arch/arm/mach-ixp4xx/include/mach/uncompress.h
index edce477..c7940a7 100644 (file)
 +subsys_initcall(tw2662_pci_init);
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/tw2662-setup.c
-@@ -0,0 +1,212 @@
+@@ -0,0 +1,213 @@
 +/*
 + * arch/arm/mach-ixp4xx/tw2662-setup.c
 + *
 +#if defined(CONFIG_PCI)
 +      .dma_zone_size  = SZ_64M,
 +#endif
++      .restart        = ixp4xx_restart,
 +MACHINE_END
 +#endif