diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-10 12:17:41 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-10 12:17:41 +0000 |
commit | d3980aa79c31f8c53ce9bf8a440cf6dee80f29bc (patch) | |
tree | e0d1ee9336727e1e51aaf89cd9cf07ef4972900a /target | |
parent | 1f088ed0f35cec10ae1e483a63492dacc066d8db (diff) |
new, cleaner Pronghorn Metro patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7543 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
3 files changed, 73 insertions, 170 deletions
diff --git a/target/linux/ixp4xx-2.6/patches/400-pronghorn_metro.patch b/target/linux/ixp4xx-2.6/patches/400-pronghorn_metro.patch index eddd80d662..b23a04d6cc 100644 --- a/target/linux/ixp4xx-2.6/patches/400-pronghorn_metro.patch +++ b/target/linux/ixp4xx-2.6/patches/400-pronghorn_metro.patch @@ -1,7 +1,20 @@ -diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/Kconfig linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/Kconfig ---- linux-2.6.19.2/arch/arm/mach-ixp4xx/Kconfig 2007-04-02 16:10:51.000000000 +0200 -+++ linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/Kconfig 2007-04-02 16:11:12.000000000 +0200 -@@ -49,6 +49,14 @@ +diff -Nur linux-2.6.21.1/Documentation/arm/IXP4xx linux-2.6.21.1-owrt/Documentation/arm/IXP4xx +--- linux-2.6.21.1/Documentation/arm/IXP4xx 2007-06-10 13:54:49.000000000 +0200 ++++ linux-2.6.21.1-owrt/Documentation/arm/IXP4xx 2007-06-10 13:46:37.000000000 +0200 +@@ -111,6 +111,9 @@ + the platform has two mini-PCI slots used for 802.11[bga] cards. + Finally, there is an IDE port hanging off the expansion bus. + ++ADI Engineering Pronghorn Metro Platform ++http://www.adiengineering.com/php-bin/ecomm4/productDisplay.php?category_id=30&product_id=85 ++ + Gateworks Avila Network Platform + http://www.gateworks.com/avila_sbc.htm + +diff -Nur linux-2.6.21.1/arch/arm/mach-ixp4xx/Kconfig linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/Kconfig +--- linux-2.6.21.1/arch/arm/mach-ixp4xx/Kconfig 2007-06-10 13:54:47.000000000 +0200 ++++ linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/Kconfig 2007-06-10 13:46:37.000000000 +0200 +@@ -57,6 +57,14 @@ WG302 v2 or WAG302 v2 Access Points. For more information on this platform, see http://openwrt.org @@ -16,10 +29,10 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/Kconfig linux-2.6.19.2-owrt/arch/a config ARCH_IXDP425 bool "IXDP425" help -diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/Makefile linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/Makefile ---- linux-2.6.19.2/arch/arm/mach-ixp4xx/Makefile 2007-04-02 16:10:51.000000000 +0200 -+++ linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/Makefile 2007-04-02 16:15:51.000000000 +0200 -@@ -13,6 +13,7 @@ +diff -Nur linux-2.6.21.1/arch/arm/mach-ixp4xx/Makefile linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/Makefile +--- linux-2.6.21.1/arch/arm/mach-ixp4xx/Makefile 2007-06-10 13:54:47.000000000 +0200 ++++ linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/Makefile 2007-06-10 13:46:37.000000000 +0200 +@@ -14,6 +14,7 @@ obj-pci-$(CONFIG_MACH_NAS100D) += nas100d-pci.o obj-pci-$(CONFIG_MACH_GATEWAY7001) += gateway7001-pci.o obj-pci-$(CONFIG_MACH_WG302V2) += wg302v2-pci.o @@ -27,30 +40,34 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/Makefile linux-2.6.19.2-owrt/arch/ obj-y += common.o -@@ -24,5 +25,6 @@ +@@ -26,5 +27,6 @@ obj-$(CONFIG_MACH_NAS100D) += nas100d-setup.o nas100d-power.o obj-$(CONFIG_MACH_GATEWAY7001) += gateway7001-setup.o obj-$(CONFIG_MACH_WG302V2) += wg302v2-setup.o +obj-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-setup.o obj-$(CONFIG_PCI) += $(obj-pci-$(CONFIG_PCI)) common-pci.o -diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-pci.c linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/pronghornmetro-pci.c ---- linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-pci.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/pronghornmetro-pci.c 2007-04-02 16:17:35.000000000 +0200 -@@ -0,0 +1,70 @@ +diff -Nur linux-2.6.21.1/arch/arm/mach-ixp4xx/pronghornmetro-pci.c linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/pronghornmetro-pci.c +--- linux-2.6.21.1/arch/arm/mach-ixp4xx/pronghornmetro-pci.c 1970-01-01 01:00:00.000000000 +0100 ++++ linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/pronghornmetro-pci.c 2007-06-10 13:50:08.000000000 +0200 +@@ -0,0 +1,74 @@ +/* + * arch/arch/mach-ixp4xx/pronghornmetro-pci.c + * -+ * PCI setup routines for ADI Engineering Pronghorn Metro platform ++ * PCI setup routines for ADI Engineering Pronghorn Metro + * -+ * Copyright (C) 2002 Jungo Software Technologies. -+ * Copyright (C) 2003 MontaVista Softwrae, Inc. ++ * Copyright (C) 2007 Imre Kaloz <kaloz@openwrt.org> ++ * ++ * based on coyote-pci.c: ++ * Copyright (C) 2002 Jungo Software Technologies. ++ * Copyright (C) 2003 MontaVista Softwrae, Inc. ++ * ++ * Maintainer: Imre Kaloz <kaloz@openwrt.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * -+ * Author: Copied from coyote-pci.c + */ + +#include <linux/kernel.h> @@ -70,24 +87,24 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-pci.c linux-2.6.19. + +void __init pronghornmetro_pci_preinit(void) +{ -+ set_irq_type(IRQ_PCI_SLOT0, IRQT_LOW); -+ set_irq_type(IRQ_PCI_SLOT1, IRQT_LOW); -+ set_irq_type(IRQ_PCI_SLOT2, IRQT_LOW); -+ set_irq_type(IRQ_PCI_SLOT3, IRQT_LOW); ++ set_irq_type(IRQ_IXP4XX_GPIO4, IRQT_LOW); ++ set_irq_type(IRQ_IXP4XX_GPIO6, IRQT_LOW); ++ set_irq_type(IRQ_IXP4XX_GPIO11, IRQT_LOW); ++ set_irq_type(IRQ_IXP4XX_GPIO1, IRQT_LOW); + + ixp4xx_pci_preinit(); +} + +static int __init pronghornmetro_map_irq(struct pci_dev *dev, u8 slot, u8 pin) +{ -+ if (slot == PCI_SLOT0_DEVID) -+ return IRQ_PCI_SLOT0; -+ else if (slot == PCI_SLOT1_DEVID) -+ return IRQ_PCI_SLOT1; -+ else if (slot == PCI_SLOT2_DEVID) -+ return IRQ_PCI_SLOT2; -+ else if (slot == PCI_SLOT3_DEVID) -+ return IRQ_PCI_SLOT3; ++ if (slot == 13) ++ return IRQ_IXP4XX_GPIO4; ++ else if (slot == 14) ++ return IRQ_IXP4XX_GPIO6; ++ else if (slot == 15) ++ return IRQ_IXP4XX_GPIO11; ++ else if (slot == 16) ++ return IRQ_IXP4XX_GPIO1; + else return -1; +} + @@ -108,18 +125,21 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-pci.c linux-2.6.19. +} + +subsys_initcall(pronghornmetro_pci_init); -diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c ---- linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-04-02 16:18:13.000000000 +0200 -@@ -0,0 +1,119 @@ +diff -Nur linux-2.6.21.1/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c +--- linux-2.6.21.1/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 1970-01-01 01:00:00.000000000 +0100 ++++ linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-06-10 13:51:51.000000000 +0200 +@@ -0,0 +1,108 @@ +/* + * arch/arm/mach-ixp4xx/pronghornmetro-setup.c + * -+ * Board setup for ADI Engineering Pronghorn Metro ++ * Board setup for the ADI Engineering Pronghorn Metro ++ * ++ * Copyright (C) 2007 Imre Kaloz <Kaloz@openwrt.org> + * -+ * Copyright (C) 2003-2005 MontaVista Software, Inc. ++ * based on coyote-setup.c: ++ * Copyright (C) 2003-2005 MontaVista Software, Inc. + * -+ * Author: Copied from coyote-setup.c ++ * Author: Imre Kaloz <Kaloz@openwrt.org> + */ + +#include <linux/kernel.h> @@ -164,20 +184,6 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.1 + .flags = IORESOURCE_MEM, +}; + -+static struct ixp4xx_i2c_pins pronghornmetro_i2c_gpio_pins = { -+ .sda_pin = PRONGHORNMETRO_SDA_PIN, -+ .scl_pin = PRONGHORNMETRO_SCL_PIN, -+}; -+ -+static struct platform_device pronghornmetro_i2c_controller = { -+ .name = "IXP4XX-I2C", -+ .id = 0, -+ .dev = { -+ .platform_data = &pronghornmetro_i2c_gpio_pins, -+ }, -+ .num_resources = 0 -+}; -+ +static struct plat_serial8250_port pronghornmetro_uart_data[] = { + { + .mapbase = IXP4XX_UART2_BASE_PHYS, @@ -202,9 +208,8 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.1 +}; + +static struct platform_device *pronghornmetro_devices[] __initdata = { -+ &pronghornmetro_i2c_controller, + &pronghornmetro_flash, -+ &pronghornmetro_uart ++ &pronghornmetro_uart, +}; + +static void __init pronghornmetro_init(void) @@ -222,6 +227,7 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.1 + +#ifdef CONFIG_MACH_PRONGHORNMETRO +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, @@ -231,115 +237,15 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.1 + .init_machine = pronghornmetro_init, +MACHINE_END +#endif -diff -Nur linux-2.6.19.2/Documentation/arm/IXP4xx linux-2.6.19.2-owrt/Documentation/arm/IXP4xx ---- linux-2.6.19.2/Documentation/arm/IXP4xx 2007-01-10 20:10:37.000000000 +0100 -+++ linux-2.6.19.2-owrt/Documentation/arm/IXP4xx 2007-04-02 16:11:12.000000000 +0200 -@@ -111,6 +111,9 @@ - the platform has two mini-PCI slots used for 802.11[bga] cards. - Finally, there is an IDE port hanging off the expansion bus. - -+ADI Engineering Pronghorn Metro Platform -+http://www.adiengineering.com/productsPronghornMetro.html -+ - Gateworks Avila Network Platform - http://www.gateworks.com/avila_sbc.htm - -diff -Nur linux-2.6.19.2/include/asm-arm/arch-ixp4xx/hardware.h linux-2.6.19.2-owrt/include/asm-arm/arch-ixp4xx/hardware.h ---- linux-2.6.19.2/include/asm-arm/arch-ixp4xx/hardware.h 2007-01-10 20:10:37.000000000 +0100 -+++ linux-2.6.19.2-owrt/include/asm-arm/arch-ixp4xx/hardware.h 2007-04-02 16:11:12.000000000 +0200 -@@ -43,6 +43,7 @@ - /* Platform specific details */ - #include "ixdp425.h" - #include "coyote.h" -+#include "pronghornmetro.h" - #include "prpmc1100.h" - #include "nslu2.h" - #include "nas100d.h" -diff -Nur linux-2.6.19.2/include/asm-arm/arch-ixp4xx/irqs.h linux-2.6.19.2-owrt/include/asm-arm/arch-ixp4xx/irqs.h ---- linux-2.6.19.2/include/asm-arm/arch-ixp4xx/irqs.h 2007-01-10 20:10:37.000000000 +0100 -+++ linux-2.6.19.2-owrt/include/asm-arm/arch-ixp4xx/irqs.h 2007-04-02 16:11:12.000000000 +0200 -@@ -94,6 +94,21 @@ - #define IRQ_COYOTE_IDE IRQ_IXP4XX_GPIO5 - - /* -+ * ADI Pronghorn Metro Board IRQs -+ */ -+#if defined(CONFIG_MACH_PRONGHORNMETRO) -+#define IRQ_PCI_SLOT0 IRQ_IXP4XX_GPIO4 -+#define IRQ_PCI_SLOT1 IRQ_IXP4XX_GPIO6 -+#define IRQ_PCI_SLOT2 IRQ_IXP4XX_GPIO11 -+#define IRQ_PCI_SLOT3 IRQ_IXP4XX_GPIO1 -+#define IRQ_IDE IRQ_IXP4XX_GPIO0 -+#elif defined (CONFIG_MACH_PRONGHORN) -+#define IRQ_PCI_SLOT0 IRQ_IXP4XX_GPIO11 -+#define IRQ_PCI_SLOT1 IRQ_IXP4XX_GPIO6 -+#define IRQ_IDE IRQ_IXP4XX_GPIO0 -+#endif -+ -+/* - * NSLU2 board IRQs - */ - #define IRQ_NSLU2_PCI_INTA IRQ_IXP4XX_GPIO11 -diff -Nur linux-2.6.19.2/include/asm-arm/arch-ixp4xx/pronghornmetro.h linux-2.6.19.2-owrt/include/asm-arm/arch-ixp4xx/pronghornmetro.h ---- linux-2.6.19.2/include/asm-arm/arch-ixp4xx/pronghornmetro.h 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.19.2-owrt/include/asm-arm/arch-ixp4xx/pronghornmetro.h 2007-04-02 16:11:12.000000000 +0200 -@@ -0,0 +1,47 @@ -+/* -+ * include/asm-arm/arch-ixp4xx/pronghornmetro.h -+ * -+ * ADI Engineering platform specific definitions -+ * -+ * Copyright 2004 (c) MontaVista, Software, Inc. -+ * -+ * This file is licensed under the terms of the GNU General Public -+ * License version 2. This program is licensed "as is" without any -+ * warranty of any kind, whether express or implied. -+ */ -+ -+#ifndef __ASM_ARCH_HARDWARE_H__ -+#error "Do not include this directly, instead #include <asm/hardware.h>" -+#endif -+ -+#if defined(CONFIG_MACH_PRONGHORNMETRO) -+#define PRONGHORNMETRO_SDA_PIN 9 -+#define PRONGHORNMETRO_SCL_PIN 10 -+ -+/* PCI controller GPIO to IRQ pin mappings */ -+#define PCI_SLOT0_PIN 1 -+#define PCI_SLOT1_PIN 11 -+#define PCI_SLOT2_PIN 6 -+#define PCI_SLOT3_PIN 4 -+ -+#define PCI_SLOT0_DEVID 13 -+#define PCI_SLOT1_DEVID 14 -+#define PCI_SLOT2_DEVID 15 -+#define PCI_SLOT3_DEVID 16 -+ -+#define TASKFILE_CS 3 -+#define TASKFILE_CS_REG IXP4XX_EXP_CS3 -+#define ALTSTAT_CS 4 -+ -+#elif defined(CONFIG_MACH_PRONGHORN) -+/* PCI controller GPIO to IRQ pin mappings */ -+#define PCI_SLOT0_PIN 11 -+#define PCI_SLOT1_PIN 6 -+ -+#define PCI_SLOT0_DEVID 15 -+#define PCI_SLOT1_DEVID 14 -+ -+#define TASKFILE_CS 2 -+#define TASKFILE_CS_REG IXP4XX_EXP_CS2 -+#define ALTSTAT_CS 3 -+#endif -diff -Nur linux-2.6.19.2/include/asm-arm/arch-ixp4xx/uncompress.h linux-2.6.19.2-owrt/include/asm-arm/arch-ixp4xx/uncompress.h ---- linux-2.6.19.2/include/asm-arm/arch-ixp4xx/uncompress.h 2007-04-02 16:10:51.000000000 +0200 -+++ linux-2.6.19.2-owrt/include/asm-arm/arch-ixp4xx/uncompress.h 2007-04-02 16:12:24.000000000 +0200 +diff -Nur linux-2.6.21.1/include/asm-arm/arch-ixp4xx/uncompress.h linux-2.6.21.1-owrt/include/asm-arm/arch-ixp4xx/uncompress.h +--- linux-2.6.21.1/include/asm-arm/arch-ixp4xx/uncompress.h 2007-06-10 13:54:52.000000000 +0200 ++++ linux-2.6.21.1-owrt/include/asm-arm/arch-ixp4xx/uncompress.h 2007-06-10 13:49:37.000000000 +0200 @@ -40,7 +40,7 @@ /* * Some boards are using UART2 as console */ - if (machine_is_adi_coyote() || machine_is_gtwx5715() || machine_is_gateway7001() || machine_is_wg302v2()) -+ if (machine_is_adi_coyote() || machine_is_gtwx5715() || machine_is_gateway7001() || machine_is_wg302v2() || machine_is_pronghorn() || machine_is_pronghorn_metro()) ++ if (machine_is_adi_coyote() || machine_is_gtwx5715() || machine_is_gateway7001() || machine_is_wg302v2() || machine_is_pronghorn_metro()) uart_base = (volatile u32*) IXP4XX_UART2_BASE_PHYS; else uart_base = (volatile u32*) IXP4XX_UART1_BASE_PHYS; diff --git a/target/linux/ixp4xx-2.6/patches/410-pronghorn_metro_setup_mac.patch b/target/linux/ixp4xx-2.6/patches/410-pronghorn_metro_setup_mac.patch index 17b6b3642a..54621d6c3e 100644 --- a/target/linux/ixp4xx-2.6/patches/410-pronghorn_metro_setup_mac.patch +++ b/target/linux/ixp4xx-2.6/patches/410-pronghorn_metro_setup_mac.patch @@ -1,7 +1,7 @@ -diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c ---- linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-04-02 21:30:12.000000000 +0200 -+++ linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-04-02 21:57:11.000000000 +0200 -@@ -87,10 +87,58 @@ +diff -Nur linux-2.6.21.1/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c +--- linux-2.6.21.1/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-06-10 14:05:47.000000000 +0200 ++++ linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-06-10 14:05:38.000000000 +0200 +@@ -76,9 +76,57 @@ .resource = &pronghornmetro_uart_resource, }; @@ -52,10 +52,8 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.1 +}; + static struct platform_device *pronghornmetro_devices[] __initdata = { - &pronghornmetro_i2c_controller, &pronghornmetro_flash, -- &pronghornmetro_uart -+ &pronghornmetro_uart, + &pronghornmetro_uart, + &mac0, + &mac1, }; diff --git a/target/linux/ixp4xx-2.6/patches/420-pronghorn_metro_mtd_microcode.patch b/target/linux/ixp4xx-2.6/patches/420-pronghorn_metro_mtd_microcode.patch index f3fed26b1a..0c304c78ff 100644 --- a/target/linux/ixp4xx-2.6/patches/420-pronghorn_metro_mtd_microcode.patch +++ b/target/linux/ixp4xx-2.6/patches/420-pronghorn_metro_mtd_microcode.patch @@ -1,7 +1,7 @@ -diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c ---- linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-04-04 11:48:14.000000000 +0200 -+++ linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-04-04 11:52:09.000000000 +0200 -@@ -14,6 +14,7 @@ +diff -Nur linux-2.6.21.1/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c +--- linux-2.6.21.1/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-06-10 14:10:24.000000000 +0200 ++++ linux-2.6.21.1-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-06-10 14:10:15.000000000 +0200 +@@ -17,6 +17,7 @@ #include <linux/serial.h> #include <linux/tty.h> #include <linux/serial_8250.h> @@ -9,7 +9,7 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.1 #include <linux/slab.h> #include <asm/types.h> -@@ -133,12 +134,35 @@ +@@ -122,11 +123,34 @@ .resource = &res_mac1, }; @@ -24,7 +24,6 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.1 +}; + static struct platform_device *pronghornmetro_devices[] __initdata = { - &pronghornmetro_i2c_controller, &pronghornmetro_flash, &pronghornmetro_uart, &mac0, @@ -45,7 +44,7 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.1 }; static void __init pronghornmetro_init(void) -@@ -152,6 +176,8 @@ +@@ -140,6 +164,8 @@ *IXP4XX_EXP_CS1 = *IXP4XX_EXP_CS0; platform_add_devices(pronghornmetro_devices, ARRAY_SIZE(pronghornmetro_devices)); |