diff options
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.23')
38 files changed, 474 insertions, 439 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.23/001-kexec_atags.patch b/target/linux/ixp4xx/patches-2.6.23/001-kexec_atags.patch index 895375d163..f4f60c9494 100644 --- a/target/linux/ixp4xx/patches-2.6.23/001-kexec_atags.patch +++ b/target/linux/ixp4xx/patches-2.6.23/001-kexec_atags.patch @@ -1,6 +1,7 @@ -diff -uprN linux-2.6.23.orig/arch/arm/kernel/relocate_kernel.S linux-2.6.23/arch/arm/kernel/relocate_kernel.S ---- linux-2.6.23.orig/arch/arm/kernel/relocate_kernel.S 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/arch/arm/kernel/relocate_kernel.S 2007-10-09 22:19:32.000000000 -0500 +Index: linux-2.6.23.17/arch/arm/kernel/relocate_kernel.S +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/kernel/relocate_kernel.S ++++ linux-2.6.23.17/arch/arm/kernel/relocate_kernel.S @@ -7,6 +7,23 @@ .globl relocate_new_kernel relocate_new_kernel: @@ -51,9 +52,10 @@ diff -uprN linux-2.6.23.orig/arch/arm/kernel/relocate_kernel.S linux-2.6.23/arch relocate_new_kernel_end: .globl relocate_new_kernel_size -diff -uprN linux-2.6.23.orig/arch/arm/kernel/setup.c linux-2.6.23/arch/arm/kernel/setup.c ---- linux-2.6.23.orig/arch/arm/kernel/setup.c 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/arch/arm/kernel/setup.c 2007-10-09 20:06:10.000000000 -0500 +Index: linux-2.6.23.17/arch/arm/kernel/setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/kernel/setup.c ++++ linux-2.6.23.17/arch/arm/kernel/setup.c @@ -24,6 +24,7 @@ #include <linux/interrupt.h> #include <linux/smp.h> @@ -105,9 +107,10 @@ diff -uprN linux-2.6.23.orig/arch/arm/kernel/setup.c linux-2.6.23/arch/arm/kerne /* * If we have the old style parameters, convert them to * a tag list. -diff -uprN linux-2.6.23.orig/include/asm-arm/kexec.h linux-2.6.23/include/asm-arm/kexec.h ---- linux-2.6.23.orig/include/asm-arm/kexec.h 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/include/asm-arm/kexec.h 2007-10-09 22:19:32.000000000 -0500 +Index: linux-2.6.23.17/include/asm-arm/kexec.h +=================================================================== +--- linux-2.6.23.17.orig/include/asm-arm/kexec.h ++++ linux-2.6.23.17/include/asm-arm/kexec.h @@ -14,6 +14,8 @@ #define KEXEC_ARCH KEXEC_ARCH_ARM diff --git a/target/linux/ixp4xx/patches-2.6.23/012-velocity_BE.patch b/target/linux/ixp4xx/patches-2.6.23/012-velocity_BE.patch index 314335387a..40a7215dcc 100644 --- a/target/linux/ixp4xx/patches-2.6.23/012-velocity_BE.patch +++ b/target/linux/ixp4xx/patches-2.6.23/012-velocity_BE.patch @@ -1,6 +1,7 @@ -diff -uprN linux-2.6.23.orig/drivers/net/via-velocity.c linux-2.6.23/drivers/net/via-velocity.c ---- linux-2.6.23.orig/drivers/net/via-velocity.c 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/drivers/net/via-velocity.c 2007-10-11 00:53:45.000000000 -0500 +Index: linux-2.6.23.17/drivers/net/via-velocity.c +=================================================================== +--- linux-2.6.23.17.orig/drivers/net/via-velocity.c ++++ linux-2.6.23.17/drivers/net/via-velocity.c @@ -96,11 +96,31 @@ MODULE_AUTHOR("VIA Networking Technologi MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("VIA Networking Velocity Family Gigabit Ethernet Adapter Driver"); @@ -782,9 +783,10 @@ diff -uprN linux-2.6.23.orig/drivers/net/via-velocity.c linux-2.6.23/drivers/net /* * Disable MIICR_MAUTO, so that mii addr can be set normally */ -diff -uprN linux-2.6.23.orig/drivers/net/via-velocity.h linux-2.6.23/drivers/net/via-velocity.h ---- linux-2.6.23.orig/drivers/net/via-velocity.h 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/drivers/net/via-velocity.h 2007-10-11 00:53:45.000000000 -0500 +Index: linux-2.6.23.17/drivers/net/via-velocity.h +=================================================================== +--- linux-2.6.23.17.orig/drivers/net/via-velocity.h ++++ linux-2.6.23.17/drivers/net/via-velocity.h @@ -196,64 +196,70 @@ * Receive descriptor */ diff --git a/target/linux/ixp4xx/patches-2.6.23/016-dsmg600_auto_power_on.patch b/target/linux/ixp4xx/patches-2.6.23/016-dsmg600_auto_power_on.patch index 2a1f2415f7..b0aee75dd4 100644 --- a/target/linux/ixp4xx/patches-2.6.23/016-dsmg600_auto_power_on.patch +++ b/target/linux/ixp4xx/patches-2.6.23/016-dsmg600_auto_power_on.patch @@ -13,10 +13,10 @@ Signed-off-by: Rod Whitby <rod@whitby.id.au> include/asm-arm/arch-ixp4xx/dsmg600.h | 7 +------ 2 files changed, 15 insertions(+), 16 deletions(-) -Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/dsmg600-power.c =================================================================== ---- linux-2.6.23.12-armeb.orig/arch/arm/mach-ixp4xx/dsmg600-power.c 2008-01-11 16:20:26.000000000 +1030 -+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c 2008-01-11 16:20:30.000000000 +1030 +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/dsmg600-power.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/dsmg600-power.c @@ -26,10 +26,9 @@ #include <linux/jiffies.h> #include <linux/timer.h> @@ -29,7 +29,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c /* This is used to make sure the power-button pusher is serious. The button * must be held until the value of this counter reaches zero. */ -@@ -47,9 +46,16 @@ +@@ -47,9 +46,16 @@ static void dsmg600_power_handler(unsign * state of the power button. */ @@ -47,7 +47,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c if (power_button_countdown == 0) { /* Signal init to do the ctrlaltdel action, this will bypass * init if it hasn't started and do a kernel_restart. -@@ -58,11 +64,9 @@ +@@ -58,11 +64,9 @@ static void dsmg600_power_handler(unsign /* Change the state of the power LED to "blink" */ gpio_line_set(DSMG600_LED_PWR_GPIO, IXP4XX_GPIO_LOW); @@ -61,7 +61,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c } mod_timer(&dsmg600_power_timer, jiffies + msecs_to_jiffies(500)); -@@ -81,12 +85,12 @@ +@@ -81,12 +85,12 @@ static int __init dsmg600_power_init(voi if (!(machine_is_dsmg600())) return 0; @@ -76,7 +76,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c return -EIO; } -@@ -114,7 +118,7 @@ +@@ -114,7 +118,7 @@ static void __exit dsmg600_power_exit(vo del_timer_sync(&dsmg600_power_timer); @@ -85,10 +85,10 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c } module_init(dsmg600_power_init); -Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/dsmg600.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/dsmg600.h =================================================================== ---- linux-2.6.23.12-armeb.orig/include/asm-arm/arch-ixp4xx/dsmg600.h 2008-01-11 16:20:26.000000000 +1030 -+++ linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/dsmg600.h 2008-01-11 16:20:30.000000000 +1030 +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/dsmg600.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/dsmg600.h @@ -40,18 +40,13 @@ /* Buttons */ diff --git a/target/linux/ixp4xx/patches-2.6.23/017-nas100d_auto_power_on.patch b/target/linux/ixp4xx/patches-2.6.23/017-nas100d_auto_power_on.patch index b77df4850b..bf6bc078ae 100644 --- a/target/linux/ixp4xx/patches-2.6.23/017-nas100d_auto_power_on.patch +++ b/target/linux/ixp4xx/patches-2.6.23/017-nas100d_auto_power_on.patch @@ -10,10 +10,10 @@ Also, update the board LED setup code to use constants. Signed-off-by: Rod Whitby <rod@whitby.id.au> -Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-power.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/nas100d-power.c =================================================================== ---- linux-2.6.23.12-armeb.orig/arch/arm/mach-ixp4xx/nas100d-power.c 2008-01-11 16:59:20.000000000 +1030 -+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-power.c 2008-01-11 17:03:23.000000000 +1030 +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/nas100d-power.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/nas100d-power.c @@ -21,15 +21,61 @@ #include <linux/irq.h> #include <linux/module.h> @@ -80,7 +80,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-power.c return IRQ_HANDLED; } -@@ -39,17 +85,30 @@ +@@ -39,17 +85,30 @@ static int __init nas100d_power_init(voi if (!(machine_is_nas100d())) return 0; @@ -114,7 +114,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-power.c return 0; } -@@ -58,7 +117,9 @@ +@@ -58,7 +117,9 @@ static void __exit nas100d_power_exit(vo if (!(machine_is_nas100d())) return; @@ -125,10 +125,10 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-power.c } module_init(nas100d_power_init); -Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/nas100d.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/nas100d.h =================================================================== ---- linux-2.6.23.12-armeb.orig/include/asm-arm/arch-ixp4xx/nas100d.h 2008-01-11 16:59:20.000000000 +1030 -+++ linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/nas100d.h 2008-01-11 17:03:23.000000000 +1030 +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/nas100d.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/nas100d.h @@ -38,15 +38,15 @@ /* Buttons */ @@ -154,11 +154,11 @@ Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/nas100d.h +#define NAS100D_LED_WLAN_GPIO 0 +#define NAS100D_LED_DISK_GPIO 3 +#define NAS100D_LED_PWR_GPIO 15 -Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/nas100d-setup.c =================================================================== ---- linux-2.6.23.12-armeb.orig/arch/arm/mach-ixp4xx/nas100d-setup.c 2008-01-11 17:03:23.000000000 +1030 -+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c 2008-01-11 17:06:15.000000000 +1030 -@@ -44,20 +44,20 @@ +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/nas100d-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/nas100d-setup.c +@@ -42,20 +42,20 @@ static struct platform_device nas100d_fl static struct resource nas100d_led_resources[] = { { .name = "wlan", /* green led */ diff --git a/target/linux/ixp4xx/patches-2.6.23/020-ixp4xx_i2c_gpio.patch b/target/linux/ixp4xx/patches-2.6.23/020-ixp4xx_i2c_gpio.patch index b1b5612320..89d39903c5 100644 --- a/target/linux/ixp4xx/patches-2.6.23/020-ixp4xx_i2c_gpio.patch +++ b/target/linux/ixp4xx/patches-2.6.23/020-ixp4xx_i2c_gpio.patch @@ -6,10 +6,10 @@ Tested by the nslu2-linux and openwrt projects in public firmware releases. Acked-by: Rod Whitby <rod@whitby.id.au> Signed-off-by: Michael-Luke Jones <mlj28@cam.ac.uk> -Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/nslu2-setup.c =================================================================== ---- linux-2.6.24-rc6-armeb.orig/arch/arm/mach-ixp4xx/nslu2-setup.c 2008-01-05 18:10:05.000000000 +1030 -+++ linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c 2008-01-05 18:10:10.000000000 +1030 +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/nslu2-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/nslu2-setup.c @@ -18,6 +18,7 @@ #include <linux/serial.h> #include <linux/serial_8250.h> @@ -18,7 +18,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c #include <asm/mach-types.h> #include <asm/mach/arch.h> -@@ -41,7 +42,7 @@ +@@ -41,7 +42,7 @@ static struct platform_device nslu2_flas .resource = &nslu2_flash_resource, }; @@ -27,7 +27,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c .sda_pin = NSLU2_SDA_PIN, .scl_pin = NSLU2_SCL_PIN, }; -@@ -82,11 +83,12 @@ +@@ -82,11 +83,12 @@ static struct platform_device nslu2_leds }; #endif @@ -44,7 +44,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c }; static struct platform_device nslu2_beeper = { -@@ -139,7 +141,7 @@ +@@ -139,7 +141,7 @@ static struct platform_device nslu2_uart }; static struct platform_device *nslu2_devices[] __initdata = { @@ -53,10 +53,10 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c &nslu2_flash, &nslu2_beeper, #ifdef CONFIG_LEDS_IXP4XX -Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/nas100d-setup.c =================================================================== ---- linux-2.6.24-rc6-armeb.orig/arch/arm/mach-ixp4xx/nas100d-setup.c 2008-01-05 18:10:05.000000000 +1030 -+++ linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c 2008-01-05 18:10:10.000000000 +1030 +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/nas100d-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/nas100d-setup.c @@ -16,6 +16,7 @@ #include <linux/serial.h> #include <linux/serial_8250.h> @@ -65,7 +65,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c #include <asm/mach-types.h> #include <asm/mach/arch.h> -@@ -68,16 +69,17 @@ +@@ -68,16 +69,17 @@ static struct platform_device nas100d_le }; #endif @@ -88,7 +88,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c }; static struct resource nas100d_uart_resources[] = { -@@ -124,7 +126,7 @@ +@@ -124,7 +126,7 @@ static struct platform_device nas100d_ua }; static struct platform_device *nas100d_devices[] __initdata = { @@ -97,10 +97,10 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c &nas100d_flash, #ifdef CONFIG_LEDS_IXP4XX &nas100d_leds, -Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/avila-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c =================================================================== ---- linux-2.6.24-rc6-armeb.orig/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-05 18:10:05.000000000 +1030 -+++ linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-05 18:10:10.000000000 +1030 +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/avila-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c @@ -18,6 +18,7 @@ #include <linux/tty.h> #include <linux/serial_8250.h> @@ -109,7 +109,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/avila-setup.c #include <asm/types.h> #include <asm/setup.h> -@@ -47,18 +48,17 @@ +@@ -47,18 +48,17 @@ static struct platform_device avila_flas .resource = &avila_flash_resource, }; @@ -133,7 +133,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/avila-setup.c }; static struct resource avila_uart_resources[] = { -@@ -133,7 +133,7 @@ +@@ -133,7 +133,7 @@ static struct platform_device avila_pata }; static struct platform_device *avila_devices[] __initdata = { @@ -142,10 +142,10 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/avila-setup.c &avila_flash, &avila_uart }; -Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/dsmg600-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/dsmg600-setup.c =================================================================== ---- linux-2.6.24-rc6-armeb.orig/arch/arm/mach-ixp4xx/dsmg600-setup.c 2008-01-05 18:10:05.000000000 +1030 -+++ linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/dsmg600-setup.c 2008-01-05 18:10:10.000000000 +1030 +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/dsmg600-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/dsmg600-setup.c @@ -14,6 +14,7 @@ #include <linux/kernel.h> #include <linux/serial.h> @@ -154,7 +154,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/dsmg600-setup.c #include <asm/mach-types.h> #include <asm/mach/arch.h> -@@ -37,15 +38,17 @@ +@@ -37,15 +38,17 @@ static struct platform_device dsmg600_fl .resource = &dsmg600_flash_resource, }; @@ -176,7 +176,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/dsmg600-setup.c }; #ifdef CONFIG_LEDS_CLASS -@@ -116,7 +119,7 @@ +@@ -116,7 +119,7 @@ static struct platform_device dsmg600_ua }; static struct platform_device *dsmg600_devices[] __initdata = { @@ -185,10 +185,10 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/dsmg600-setup.c &dsmg600_flash, }; -Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/ixdp425-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/ixdp425-setup.c =================================================================== ---- linux-2.6.24-rc6-armeb.orig/arch/arm/mach-ixp4xx/ixdp425-setup.c 2008-01-05 18:10:05.000000000 +1030 -+++ linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/ixdp425-setup.c 2008-01-05 18:10:10.000000000 +1030 +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/ixdp425-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/ixdp425-setup.c @@ -15,6 +15,7 @@ #include <linux/tty.h> #include <linux/serial_8250.h> @@ -197,7 +197,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/ixdp425-setup.c #include <linux/io.h> #include <linux/mtd/mtd.h> #include <linux/mtd/nand.h> -@@ -120,18 +121,17 @@ +@@ -120,18 +121,17 @@ static struct platform_device ixdp425_fl }; #endif /* CONFIG_MTD_NAND_PLATFORM */ @@ -221,7 +221,7 @@ Index: linux-2.6.24-rc6-armeb/arch/arm/mach-ixp4xx/ixdp425-setup.c }; static struct resource ixdp425_uart_resources[] = { -@@ -178,7 +178,7 @@ +@@ -178,7 +178,7 @@ static struct platform_device ixdp425_ua }; static struct platform_device *ixdp425_devices[] __initdata = { diff --git a/target/linux/ixp4xx/patches-2.6.23/030-ixp4xx_fsg_board_support.patch b/target/linux/ixp4xx/patches-2.6.23/030-ixp4xx_fsg_board_support.patch index c133034e50..d3f2f94a29 100644 --- a/target/linux/ixp4xx/patches-2.6.23/030-ixp4xx_fsg_board_support.patch +++ b/target/linux/ixp4xx/patches-2.6.23/030-ixp4xx_fsg_board_support.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/fsg-pci.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/fsg-pci.c =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/fsg-pci.c 2008-01-11 17:06:33.000000000 +1030 +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/fsg-pci.c @@ -0,0 +1,71 @@ +/* + * arch/arch/mach-ixp4xx/fsg-pci.c @@ -74,10 +74,10 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/fsg-pci.c +} + +subsys_initcall(fsg_pci_init); -Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/fsg-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/fsg-setup.c =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/fsg-setup.c 2008-01-11 17:06:33.000000000 +1030 +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/fsg-setup.c @@ -0,0 +1,220 @@ +/* + * arch/arm/mach-ixp4xx/fsg-setup.c @@ -299,11 +299,11 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/fsg-setup.c + .init_machine = fsg_init, +MACHINE_END + -Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/Kconfig +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig =================================================================== ---- linux-2.6.23.12-armeb.orig/arch/arm/mach-ixp4xx/Kconfig 2008-01-11 17:05:08.000000000 +1030 -+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/Kconfig 2008-01-11 17:06:33.000000000 +1030 -@@ -125,6 +125,15 @@ +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Kconfig ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +@@ -125,6 +125,15 @@ config ARCH_IXDP4XX depends on ARCH_IXDP425 || MACH_IXDP465 || MACH_KIXRP435 default y @@ -319,11 +319,11 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/Kconfig # # Certain registers and IRQs are only enabled if supporting IXP465 CPUs # -Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/Makefile +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile =================================================================== ---- linux-2.6.23.12-armeb.orig/arch/arm/mach-ixp4xx/Makefile 2008-01-11 17:05:08.000000000 +1030 -+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/Makefile 2008-01-11 17:06:33.000000000 +1030 -@@ -15,6 +15,7 @@ +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Makefile ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +@@ -15,6 +15,7 @@ obj-pci-$(CONFIG_MACH_NAS100D) += nas10 obj-pci-$(CONFIG_MACH_DSMG600) += dsmg600-pci.o obj-pci-$(CONFIG_MACH_GATEWAY7001) += gateway7001-pci.o obj-pci-$(CONFIG_MACH_WG302V2) += wg302v2-pci.o @@ -331,18 +331,17 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/Makefile obj-y += common.o -@@ -28,6 +29,7 @@ +@@ -28,5 +29,6 @@ obj-$(CONFIG_MACH_NAS100D) += nas100d-se obj-$(CONFIG_MACH_DSMG600) += dsmg600-setup.o dsmg600-power.o obj-$(CONFIG_MACH_GATEWAY7001) += gateway7001-setup.o obj-$(CONFIG_MACH_WG302V2) += wg302v2-setup.o +obj-$(CONFIG_MACH_FSG) += fsg-setup.o fsg-power.o obj-$(CONFIG_PCI) += $(obj-pci-$(CONFIG_PCI)) common-pci.o - obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o -Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/fsg.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/fsg.h =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/fsg.h 2008-01-11 17:06:33.000000000 +1030 +--- /dev/null ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/fsg.h @@ -0,0 +1,50 @@ +/* + * include/asm-arm/arch-ixp4xx/fsg.h @@ -394,10 +393,10 @@ Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/fsg.h +#define FSG_LED_USB_BIT 4 +#define FSG_LED_RING_BIT 5 +#define FSG_LED_SYNC_BIT 7 -Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/hardware.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/hardware.h =================================================================== ---- linux-2.6.23.12-armeb.orig/include/asm-arm/arch-ixp4xx/hardware.h 2008-01-11 17:05:08.000000000 +1030 -+++ linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/hardware.h 2008-01-11 17:06:33.000000000 +1030 +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/hardware.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/hardware.h @@ -45,5 +45,6 @@ #include "nslu2.h" #include "nas100d.h" @@ -405,10 +404,10 @@ Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/hardware.h +#include "fsg.h" #endif /* _ASM_ARCH_HARDWARE_H */ -Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/irqs.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/irqs.h =================================================================== ---- linux-2.6.23.12-armeb.orig/include/asm-arm/arch-ixp4xx/irqs.h 2008-01-11 17:05:08.000000000 +1030 -+++ linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/irqs.h 2008-01-11 17:06:33.000000000 +1030 +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/irqs.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/irqs.h @@ -128,4 +128,11 @@ #define IRQ_DSMG600_PCI_INTE IRQ_IXP4XX_GPIO7 #define IRQ_DSMG600_PCI_INTF IRQ_IXP4XX_GPIO6 @@ -421,10 +420,10 @@ Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/irqs.h +#define IRQ_FSG_PCI_INTC IRQ_IXP4XX_GPIO5 + #endif -Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/fsg-power.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/fsg-power.c =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/fsg-power.c 2008-01-11 17:06:33.000000000 +1030 +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/fsg-power.c @@ -0,0 +1,89 @@ +/* + * arch/arm/mach-ixp4xx/fsg-power.c @@ -515,11 +514,11 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/fsg-power.c +MODULE_AUTHOR("Rod Whitby <rod@whitby.id.au>"); +MODULE_DESCRIPTION("FSG Power/Reset driver"); +MODULE_LICENSE("GPL"); -Index: linux-2.6.23.12-armeb/drivers/leds/Kconfig +Index: linux-2.6.23.17/drivers/leds/Kconfig =================================================================== ---- linux-2.6.23.12-armeb.orig/drivers/leds/Kconfig 2008-01-11 17:05:08.000000000 +1030 -+++ linux-2.6.23.12-armeb/drivers/leds/Kconfig 2008-01-11 17:06:33.000000000 +1030 -@@ -48,6 +48,12 @@ +--- linux-2.6.23.17.orig/drivers/leds/Kconfig ++++ linux-2.6.23.17/drivers/leds/Kconfig +@@ -48,6 +48,12 @@ config LEDS_IXP4XX particular board must have LEDs and they must be connected to the GPIO lines. If unsure, say Y. @@ -532,11 +531,11 @@ Index: linux-2.6.23.12-armeb/drivers/leds/Kconfig config LEDS_TOSA tristate "LED Support for the Sharp SL-6000 series" depends on LEDS_CLASS && PXA_SHARPSL -Index: linux-2.6.23.12-armeb/drivers/leds/Makefile +Index: linux-2.6.23.17/drivers/leds/Makefile =================================================================== ---- linux-2.6.23.12-armeb.orig/drivers/leds/Makefile 2008-01-11 17:05:08.000000000 +1030 -+++ linux-2.6.23.12-armeb/drivers/leds/Makefile 2008-01-11 17:06:33.000000000 +1030 -@@ -9,6 +9,7 @@ +--- linux-2.6.23.17.orig/drivers/leds/Makefile ++++ linux-2.6.23.17/drivers/leds/Makefile +@@ -9,6 +9,7 @@ obj-$(CONFIG_LEDS_CORGI) += leds-corgi. obj-$(CONFIG_LEDS_LOCOMO) += leds-locomo.o obj-$(CONFIG_LEDS_SPITZ) += leds-spitz.o obj-$(CONFIG_LEDS_IXP4XX) += leds-ixp4xx-gpio.o @@ -544,10 +543,10 @@ Index: linux-2.6.23.12-armeb/drivers/leds/Makefile obj-$(CONFIG_LEDS_TOSA) += leds-tosa.o obj-$(CONFIG_LEDS_S3C24XX) += leds-s3c24xx.o obj-$(CONFIG_LEDS_AMS_DELTA) += leds-ams-delta.o -Index: linux-2.6.23.12-armeb/drivers/leds/leds-fsg.c +Index: linux-2.6.23.17/drivers/leds/leds-fsg.c =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23.12-armeb/drivers/leds/leds-fsg.c 2008-01-11 17:06:33.000000000 +1030 +--- /dev/null ++++ linux-2.6.23.17/drivers/leds/leds-fsg.c @@ -0,0 +1,243 @@ +/* + * LED Driver for the Freecom FSG-3 diff --git a/target/linux/ixp4xx/patches-2.6.23/031-ixp4xx-net-drivers-nslu2.patch b/target/linux/ixp4xx/patches-2.6.23/031-ixp4xx-net-drivers-nslu2.patch index d4c710c049..cd500a5cb2 100644 --- a/target/linux/ixp4xx/patches-2.6.23/031-ixp4xx-net-drivers-nslu2.patch +++ b/target/linux/ixp4xx/patches-2.6.23/031-ixp4xx-net-drivers-nslu2.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/nslu2-setup.c =================================================================== ---- linux-2.6.23.12-armeb.orig/arch/arm/mach-ixp4xx/nslu2-setup.c 2008-01-08 15:28:13.000000000 +1030 -+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c 2008-01-08 15:28:32.000000000 +1030 +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/nslu2-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/nslu2-setup.c @@ -24,6 +24,7 @@ #include <asm/mach/arch.h> #include <asm/mach/flash.h> @@ -10,7 +10,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c static struct flash_platform_data nslu2_flash_data = { .map_name = "cfi_probe", -@@ -140,6 +141,23 @@ +@@ -140,6 +141,23 @@ static struct platform_device nslu2_uart .resource = nslu2_uart_resources, }; @@ -34,7 +34,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c static struct platform_device *nslu2_devices[] __initdata = { &nslu2_i2c_gpio, &nslu2_flash, -@@ -147,6 +165,7 @@ +@@ -147,6 +165,7 @@ static struct platform_device *nslu2_dev #ifdef CONFIG_LEDS_IXP4XX &nslu2_leds, #endif @@ -42,7 +42,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c }; static void nslu2_power_off(void) -@@ -175,6 +194,9 @@ +@@ -175,6 +194,9 @@ static struct sys_timer nslu2_timer = { static void __init nslu2_init(void) { @@ -52,7 +52,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nslu2-setup.c ixp4xx_sys_init(); nslu2_flash_resource.start = IXP4XX_EXP_BUS_BASE(0); -@@ -191,6 +213,33 @@ +@@ -191,6 +213,33 @@ static void __init nslu2_init(void) (void)platform_device_register(&nslu2_uart); platform_add_devices(nslu2_devices, ARRAY_SIZE(nslu2_devices)); diff --git a/target/linux/ixp4xx/patches-2.6.23/032-ixp4xx-net-drivers-nas100d.patch b/target/linux/ixp4xx/patches-2.6.23/032-ixp4xx-net-drivers-nas100d.patch index 143473378e..656c83ebe3 100644 --- a/target/linux/ixp4xx/patches-2.6.23/032-ixp4xx-net-drivers-nas100d.patch +++ b/target/linux/ixp4xx/patches-2.6.23/032-ixp4xx-net-drivers-nas100d.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/nas100d-setup.c =================================================================== ---- linux-2.6.23.12-armeb.orig/arch/arm/mach-ixp4xx/nas100d-setup.c 2008-01-08 15:22:07.000000000 +1030 -+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c 2008-01-08 15:32:32.000000000 +1030 +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/nas100d-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/nas100d-setup.c @@ -21,6 +21,7 @@ #include <asm/mach-types.h> #include <asm/mach/arch.h> @@ -10,7 +10,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c static struct flash_platform_data nas100d_flash_data = { .map_name = "cfi_probe", -@@ -125,12 +126,30 @@ +@@ -125,12 +126,30 @@ static struct platform_device nas100d_ua .resource = nas100d_uart_resources, }; @@ -41,7 +41,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c }; static void nas100d_power_off(void) -@@ -146,6 +165,9 @@ +@@ -146,6 +165,9 @@ static void nas100d_power_off(void) static void __init nas100d_init(void) { @@ -51,7 +51,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/nas100d-setup.c ixp4xx_sys_init(); /* gpio 14 and 15 are _not_ clocks */ -@@ -165,6 +187,33 @@ +@@ -165,6 +187,33 @@ static void __init nas100d_init(void) (void)platform_device_register(&nas100d_uart); platform_add_devices(nas100d_devices, ARRAY_SIZE(nas100d_devices)); diff --git a/target/linux/ixp4xx/patches-2.6.23/090-increase_entropy_pools.patch b/target/linux/ixp4xx/patches-2.6.23/090-increase_entropy_pools.patch index 9a322a714a..333f481bf2 100644 --- a/target/linux/ixp4xx/patches-2.6.23/090-increase_entropy_pools.patch +++ b/target/linux/ixp4xx/patches-2.6.23/090-increase_entropy_pools.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.19/drivers/char/random.c +Index: linux-2.6.23.17/drivers/char/random.c =================================================================== ---- linux-2.6.19.orig/drivers/char/random.c -+++ linux-2.6.19/drivers/char/random.c +--- linux-2.6.23.17.orig/drivers/char/random.c ++++ linux-2.6.23.17/drivers/char/random.c @@ -248,9 +248,9 @@ /* * Configuration information diff --git a/target/linux/ixp4xx/patches-2.6.23/091-nslu2_rtc_fixup.patch b/target/linux/ixp4xx/patches-2.6.23/091-nslu2_rtc_fixup.patch index 49ca1e2dc9..0facc598ad 100644 --- a/target/linux/ixp4xx/patches-2.6.23/091-nslu2_rtc_fixup.patch +++ b/target/linux/ixp4xx/patches-2.6.23/091-nslu2_rtc_fixup.patch @@ -1,15 +1,16 @@ -diff -uprN linux-2.6.23.orig/arch/arm/mach-ixp4xx/nslu2-setup.c linux-2.6.23/arch/arm/mach-ixp4xx/nslu2-setup.c ---- linux-2.6.23.orig/arch/arm/mach-ixp4xx/nslu2-setup.c 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/arch/arm/mach-ixp4xx/nslu2-setup.c 2007-10-11 01:04:46.000000000 -0500 -@@ -19,6 +19,7 @@ - #include <linux/serial_8250.h> +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/nslu2-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/nslu2-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/nslu2-setup.c +@@ -20,6 +20,7 @@ #include <linux/leds.h> + #include <linux/i2c-gpio.h> +#include <asm/setup.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> #include <asm/mach/flash.h> -@@ -171,6 +172,35 @@ static struct sys_timer nslu2_timer = { +@@ -192,6 +193,35 @@ static struct sys_timer nslu2_timer = { .init = nslu2_timer_init, }; @@ -44,8 +45,8 @@ diff -uprN linux-2.6.23.orig/arch/arm/mach-ixp4xx/nslu2-setup.c linux-2.6.23/arc + static void __init nslu2_init(void) { - ixp4xx_sys_init(); -@@ -196,6 +226,7 @@ MACHINE_START(NSLU2, "Linksys NSLU2") + uint8_t __iomem *f; +@@ -247,6 +277,7 @@ MACHINE_START(NSLU2, "Linksys NSLU2") .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xFFFC, .boot_params = 0x00000100, diff --git a/target/linux/ixp4xx/patches-2.6.23/092-nas100d_rtc_fixup.patch b/target/linux/ixp4xx/patches-2.6.23/092-nas100d_rtc_fixup.patch index a6fda86276..00a51bc31a 100644 --- a/target/linux/ixp4xx/patches-2.6.23/092-nas100d_rtc_fixup.patch +++ b/target/linux/ixp4xx/patches-2.6.23/092-nas100d_rtc_fixup.patch @@ -1,15 +1,16 @@ -diff -uprN linux-2.6.23.orig/arch/arm/mach-ixp4xx/nas100d-setup.c linux-2.6.23/arch/arm/mach-ixp4xx/nas100d-setup.c ---- linux-2.6.23.orig/arch/arm/mach-ixp4xx/nas100d-setup.c 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/arch/arm/mach-ixp4xx/nas100d-setup.c 2007-10-11 01:06:33.000000000 -0500 -@@ -17,6 +17,7 @@ - #include <linux/serial_8250.h> +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/nas100d-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/nas100d-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/nas100d-setup.c +@@ -18,6 +18,7 @@ #include <linux/leds.h> + #include <linux/i2c-gpio.h> +#include <asm/setup.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> #include <asm/mach/flash.h> -@@ -142,6 +143,35 @@ static void nas100d_power_off(void) +@@ -163,6 +164,35 @@ static void nas100d_power_off(void) gpio_line_set(NAS100D_PO_GPIO, IXP4XX_GPIO_HIGH); } @@ -44,8 +45,8 @@ diff -uprN linux-2.6.23.orig/arch/arm/mach-ixp4xx/nas100d-setup.c linux-2.6.23/a + static void __init nas100d_init(void) { - ixp4xx_sys_init(); -@@ -170,6 +200,7 @@ MACHINE_START(NAS100D, "Iomega NAS 100d" + uint8_t __iomem *f; +@@ -221,6 +251,7 @@ MACHINE_START(NAS100D, "Iomega NAS 100d" .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xFFFC, .boot_params = 0x00000100, diff --git a/target/linux/ixp4xx/patches-2.6.23/095-dsmg600_rtc_fixup.patch b/target/linux/ixp4xx/patches-2.6.23/095-dsmg600_rtc_fixup.patch index 3d13501156..b46c2947e4 100644 --- a/target/linux/ixp4xx/patches-2.6.23/095-dsmg600_rtc_fixup.patch +++ b/target/linux/ixp4xx/patches-2.6.23/095-dsmg600_rtc_fixup.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.22-rc4-armeb/arch/arm/mach-ixp4xx/dsmg600-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/dsmg600-setup.c =================================================================== ---- linux-2.6.22-rc4-armeb.orig/arch/arm/mach-ixp4xx/dsmg600-setup.c -+++ linux-2.6.22-rc4-armeb/arch/arm/mach-ixp4xx/dsmg600-setup.c +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/dsmg600-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/dsmg600-setup.c @@ -16,6 +16,7 @@ #include <linux/serial_8250.h> #include <linux/i2c-gpio.h> diff --git a/target/linux/ixp4xx/patches-2.6.23/096-kexec_cmdline.patch b/target/linux/ixp4xx/patches-2.6.23/096-kexec_cmdline.patch index 45ca2038f0..d27a785789 100644 --- a/target/linux/ixp4xx/patches-2.6.23/096-kexec_cmdline.patch +++ b/target/linux/ixp4xx/patches-2.6.23/096-kexec_cmdline.patch @@ -1,6 +1,7 @@ -diff -uprN linux-2.6.23.orig/kernel/ksysfs.c linux-2.6.23/kernel/ksysfs.c ---- linux-2.6.23.orig/kernel/ksysfs.c 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/kernel/ksysfs.c 2007-10-11 01:10:26.000000000 -0500 +Index: linux-2.6.23.17/kernel/ksysfs.c +=================================================================== +--- linux-2.6.23.17.orig/kernel/ksysfs.c ++++ linux-2.6.23.17/kernel/ksysfs.c @@ -49,6 +49,165 @@ KERNEL_ATTR_RW(uevent_helper); #endif diff --git a/target/linux/ixp4xx/patches-2.6.23/100-gateway7001_mac_plat_info.patch b/target/linux/ixp4xx/patches-2.6.23/100-gateway7001_mac_plat_info.patch index c7169ce2fb..915e501bce 100644 --- a/target/linux/ixp4xx/patches-2.6.23/100-gateway7001_mac_plat_info.patch +++ b/target/linux/ixp4xx/patches-2.6.23/100-gateway7001_mac_plat_info.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/gateway7001-setup.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/gateway7001-setup.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/gateway7001-setup.c 2007-10-09 22:31:38.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/gateway7001-setup.c 2007-10-22 15:09:33.000000000 +0200 -@@ -76,9 +76,36 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/gateway7001-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/gateway7001-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/gateway7001-setup.c +@@ -76,9 +76,36 @@ static struct platform_device gateway700 .resource = &gateway7001_uart_resource, }; diff --git a/target/linux/ixp4xx/patches-2.6.23/101-wg302_mac_plat_info.patch b/target/linux/ixp4xx/patches-2.6.23/101-wg302_mac_plat_info.patch index 5209e72d5c..af638b0d0b 100644 --- a/target/linux/ixp4xx/patches-2.6.23/101-wg302_mac_plat_info.patch +++ b/target/linux/ixp4xx/patches-2.6.23/101-wg302_mac_plat_info.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/wg302v2-setup.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/wg302v2-setup.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/wg302v2-setup.c 2007-10-09 22:31:38.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/wg302v2-setup.c 2007-10-22 15:02:20.000000000 +0200 -@@ -77,9 +77,27 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v2-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/wg302v2-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v2-setup.c +@@ -77,9 +77,27 @@ static struct platform_device wg302v2_ua .resource = &wg302v2_uart_resource, }; diff --git a/target/linux/ixp4xx/patches-2.6.23/110-pronghorn_metro_support.patch b/target/linux/ixp4xx/patches-2.6.23/110-pronghorn_metro_support.patch index 80115b8401..1d6baae5b9 100644 --- a/target/linux/ixp4xx/patches-2.6.23/110-pronghorn_metro_support.patch +++ b/target/linux/ixp4xx/patches-2.6.23/110-pronghorn_metro_support.patch @@ -1,8 +1,8 @@ -Index: linux-2.6.23.12/arch/arm/mach-ixp4xx/Kconfig +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig =================================================================== ---- linux-2.6.23.12.orig/arch/arm/mach-ixp4xx/Kconfig 2008-01-05 13:30:14.000000000 +1030 -+++ linux-2.6.23.12/arch/arm/mach-ixp4xx/Kconfig 2008-01-05 13:37:05.000000000 +1030 -@@ -57,6 +57,14 @@ +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Kconfig ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +@@ -57,6 +57,14 @@ config MACH_WG302V2 WG302 v2 or WAG302 v2 Access Points. For more information on this platform, see http://openwrt.org @@ -17,11 +17,11 @@ Index: linux-2.6.23.12/arch/arm/mach-ixp4xx/Kconfig config ARCH_IXDP425 bool "IXDP425" help -Index: linux-2.6.23.12/arch/arm/mach-ixp4xx/Makefile +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile =================================================================== ---- linux-2.6.23.12.orig/arch/arm/mach-ixp4xx/Makefile 2008-01-05 13:32:45.000000000 +1030 -+++ linux-2.6.23.12/arch/arm/mach-ixp4xx/Makefile 2008-01-05 13:37:37.000000000 +1030 -@@ -16,6 +16,7 @@ +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Makefile ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +@@ -16,6 +16,7 @@ obj-pci-$(CONFIG_MACH_DSMG600) += dsmg6 obj-pci-$(CONFIG_MACH_GATEWAY7001) += gateway7001-pci.o obj-pci-$(CONFIG_MACH_WG302V2) += wg302v2-pci.o obj-pci-$(CONFIG_MACH_FSG) += fsg-pci.o @@ -29,17 +29,17 @@ Index: linux-2.6.23.12/arch/arm/mach-ixp4xx/Makefile obj-y += common.o -@@ -30,5 +31,6 @@ +@@ -30,5 +31,6 @@ obj-$(CONFIG_MACH_DSMG600) += dsmg6 obj-$(CONFIG_MACH_GATEWAY7001) += gateway7001-setup.o obj-$(CONFIG_MACH_WG302V2) += wg302v2-setup.o obj-$(CONFIG_MACH_FSG) += fsg-setup.o fsg-power.o +obj-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-setup.o obj-$(CONFIG_PCI) += $(obj-pci-$(CONFIG_PCI)) common-pci.o -Index: linux-2.6.23.12/arch/arm/mach-ixp4xx/pronghornmetro-pci.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/pronghornmetro-pci.c =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23.12/arch/arm/mach-ixp4xx/pronghornmetro-pci.c 2008-01-05 13:37:05.000000000 +1030 +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/pronghornmetro-pci.c @@ -0,0 +1,74 @@ +/* + * arch/arch/mach-ixp4xx/pronghornmetro-pci.c @@ -115,10 +115,10 @@ Index: linux-2.6.23.12/arch/arm/mach-ixp4xx/pronghornmetro-pci.c +} + +subsys_initcall(pronghornmetro_pci_init); -Index: linux-2.6.23.12/arch/arm/mach-ixp4xx/pronghornmetro-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/pronghornmetro-setup.c =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23.12/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2008-01-05 13:37:05.000000000 +1030 +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/pronghornmetro-setup.c @@ -0,0 +1,147 @@ +/* + * arch/arm/mach-ixp4xx/pronghornmetro-setup.c @@ -267,11 +267,11 @@ Index: linux-2.6.23.12/arch/arm/mach-ixp4xx/pronghornmetro-setup.c + .init_machine = pronghornmetro_init, +MACHINE_END +#endif -Index: linux-2.6.23.12/Documentation/arm/IXP4xx +Index: linux-2.6.23.17/Documentation/arm/IXP4xx =================================================================== ---- linux-2.6.23.12.orig/Documentation/arm/IXP4xx 2008-01-05 13:30:14.000000000 +1030 -+++ linux-2.6.23.12/Documentation/arm/IXP4xx 2008-01-05 13:37:05.000000000 +1030 -@@ -111,6 +111,9 @@ +--- linux-2.6.23.17.orig/Documentation/arm/IXP4xx ++++ linux-2.6.23.17/Documentation/arm/IXP4xx +@@ -111,6 +111,9 @@ http://www.adiengineering.com/productsCo the platform has two mini-PCI slots used for 802.11[bga] cards. Finally, there is an IDE port hanging off the expansion bus. @@ -281,11 +281,11 @@ Index: linux-2.6.23.12/Documentation/arm/IXP4xx Gateworks Avila Network Platform http://www.gateworks.com/avila_sbc.htm -Index: linux-2.6.23.12/include/asm-arm/arch-ixp4xx/uncompress.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/uncompress.h =================================================================== ---- linux-2.6.23.12.orig/include/asm-arm/arch-ixp4xx/uncompress.h 2008-01-05 13:30:14.000000000 +1030 -+++ linux-2.6.23.12/include/asm-arm/arch-ixp4xx/uncompress.h 2008-01-05 13:37:05.000000000 +1030 -@@ -41,7 +41,8 @@ +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/uncompress.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/uncompress.h +@@ -41,7 +41,8 @@ static __inline__ void __arch_decomp_set * Some boards are using UART2 as console */ if (machine_is_adi_coyote() || machine_is_gtwx5715() || diff --git a/target/linux/ixp4xx/patches-2.6.23/111-pronghorn_metro_mac_plat_info.patch b/target/linux/ixp4xx/patches-2.6.23/111-pronghorn_metro_mac_plat_info.patch index 2fb376982a..50e93da854 100644 --- a/target/linux/ixp4xx/patches-2.6.23/111-pronghorn_metro_mac_plat_info.patch +++ b/target/linux/ixp4xx/patches-2.6.23/111-pronghorn_metro_mac_plat_info.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-10-22 15:41:27.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-10-22 15:43:30.000000000 +0200 -@@ -104,9 +104,36 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/pronghornmetro-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/pronghornmetro-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/pronghornmetro-setup.c +@@ -104,9 +104,36 @@ static struct platform_device pronghornm .resource = pronghornmetro_pata_resources, }; diff --git a/target/linux/ixp4xx/patches-2.6.23/120-compex_support.patch b/target/linux/ixp4xx/patches-2.6.23/120-compex_support.patch index 2488cb49d8..a51225bdd0 100644 --- a/target/linux/ixp4xx/patches-2.6.23/120-compex_support.patch +++ b/target/linux/ixp4xx/patches-2.6.23/120-compex_support.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Kconfig ---- linux-2.6.23/arch/arm/mach-ixp4xx/Kconfig 2007-10-23 18:03:34.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Kconfig 2007-10-23 18:22:41.000000000 +0200 -@@ -65,6 +65,14 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Kconfig ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +@@ -65,6 +65,14 @@ config MACH_PRONGHORNMETRO Engineering Pronghorn Metro Platform. For more information on this platform, see <file:Documentation/arm/IXP4xx>. @@ -16,10 +17,11 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23-owrt/arch/arm/m config ARCH_IXDP425 bool "IXDP425" help -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Makefile linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Makefile ---- linux-2.6.23/arch/arm/mach-ixp4xx/Makefile 2007-10-23 18:03:34.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Makefile 2007-10-23 18:22:41.000000000 +0200 -@@ -17,6 +17,7 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Makefile ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +@@ -17,6 +17,7 @@ obj-pci-$(CONFIG_MACH_GATEWAY7001) += ga obj-pci-$(CONFIG_MACH_WG302V2) += wg302v2-pci.o obj-pci-$(CONFIG_MACH_FSG) += fsg-pci.o obj-pci-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-pci.o @@ -27,17 +29,17 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Makefile linux-2.6.23-owrt/arch/arm/ obj-y += common.o -@@ -32,6 +33,7 @@ +@@ -32,5 +33,6 @@ obj-$(CONFIG_MACH_GATEWAY7001) += gatewa obj-$(CONFIG_MACH_WG302V2) += wg302v2-setup.o - obj-$(CONFIG_MACH_FSG) += fsg-setup.o + obj-$(CONFIG_MACH_FSG) += fsg-setup.o fsg-power.o obj-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-setup.o +obj-$(CONFIG_MACH_COMPEX) += compex-setup.o obj-$(CONFIG_PCI) += $(obj-pci-$(CONFIG_PCI)) common-pci.o - obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/compex-setup.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/compex-setup.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/compex-setup.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/compex-setup.c 2007-10-23 18:22:41.000000000 +0200 +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/compex-setup.c +=================================================================== +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/compex-setup.c @@ -0,0 +1,120 @@ +/* + * arch/arm/mach-ixp4xx/compex-setup.c @@ -159,10 +161,11 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/compex-setup.c linux-2.6.23-owrt/arc + .init_machine = compex_init, +MACHINE_END +#endif -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/ixdp425-pci.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/ixdp425-pci.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/ixdp425-pci.c 2007-10-09 22:31:38.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/ixdp425-pci.c 2007-10-23 18:22:41.000000000 +0200 -@@ -66,7 +66,7 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/ixdp425-pci.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/ixdp425-pci.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/ixdp425-pci.c +@@ -66,7 +66,7 @@ struct hw_pci ixdp425_pci __initdata = { int __init ixdp425_pci_init(void) { if (machine_is_ixdp425() || machine_is_ixcdp1100() || @@ -171,10 +174,11 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/ixdp425-pci.c linux-2.6.23-owrt/arch pci_common_init(&ixdp425_pci); return 0; } -diff -Nur linux-2.6.23/arch/arm/tools/mach-types linux-2.6.23-owrt/arch/arm/tools/mach-types ---- linux-2.6.23/arch/arm/tools/mach-types 2007-10-09 22:31:38.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/tools/mach-types 2007-10-23 18:22:41.000000000 +0200 -@@ -1278,7 +1278,7 @@ +Index: linux-2.6.23.17/arch/arm/tools/mach-types +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/tools/mach-types ++++ linux-2.6.23.17/arch/arm/tools/mach-types +@@ -1278,7 +1278,7 @@ oiab MACH_OIAB OIAB 1269 smdk6400 MACH_SMDK6400 SMDK6400 1270 nokia_n800 MACH_NOKIA_N800 NOKIA_N800 1271 greenphone MACH_GREENPHONE GREENPHONE 1272 diff --git a/target/linux/ixp4xx/patches-2.6.23/121-compex_mac_plat_info.patch b/target/linux/ixp4xx/patches-2.6.23/121-compex_mac_plat_info.patch index 081349ad3d..f7ff4619c8 100644 --- a/target/linux/ixp4xx/patches-2.6.23/121-compex_mac_plat_info.patch +++ b/target/linux/ixp4xx/patches-2.6.23/121-compex_mac_plat_info.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/compex-setup.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/compex-setup.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/compex-setup.c 2007-10-23 18:39:29.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/compex-setup.c 2007-10-23 18:45:34.000000000 +0200 -@@ -90,9 +90,36 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/compex-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/compex-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/compex-setup.c +@@ -90,9 +90,36 @@ static struct platform_device compex_uar .resource = compex_uart_resources, }; diff --git a/target/linux/ixp4xx/patches-2.6.23/130-wrt300nv2_support.patch b/target/linux/ixp4xx/patches-2.6.23/130-wrt300nv2_support.patch index 78e525d309..1dcc85bb2e 100644 --- a/target/linux/ixp4xx/patches-2.6.23/130-wrt300nv2_support.patch +++ b/target/linux/ixp4xx/patches-2.6.23/130-wrt300nv2_support.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Kconfig ---- linux-2.6.23/arch/arm/mach-ixp4xx/Kconfig 2007-10-23 18:39:29.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Kconfig 2007-10-23 19:11:31.000000000 +0200 -@@ -73,6 +73,14 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Kconfig ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +@@ -73,6 +73,14 @@ config MACH_COMPEX WP18 or NP18A boards. For more information on this platform, see http://openwrt.org @@ -16,10 +17,11 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23-owrt/arch/arm/m config ARCH_IXDP425 bool "IXDP425" help -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Makefile linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Makefile ---- linux-2.6.23/arch/arm/mach-ixp4xx/Makefile 2007-10-23 18:39:29.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Makefile 2007-10-23 19:11:31.000000000 +0200 -@@ -18,6 +18,7 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Makefile ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +@@ -18,6 +18,7 @@ obj-pci-$(CONFIG_MACH_WG302V2) += wg302 obj-pci-$(CONFIG_MACH_FSG) += fsg-pci.o obj-pci-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-pci.o obj-pci-$(CONFIG_MACH_COMPEX) += ixdp425-pci.o @@ -27,17 +29,17 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Makefile linux-2.6.23-owrt/arch/arm/ obj-y += common.o -@@ -34,6 +35,7 @@ - obj-$(CONFIG_MACH_FSG) += fsg-setup.o +@@ -34,5 +35,6 @@ obj-$(CONFIG_MACH_WG302V2) += wg302v2-se + obj-$(CONFIG_MACH_FSG) += fsg-setup.o fsg-power.o obj-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-setup.o obj-$(CONFIG_MACH_COMPEX) += compex-setup.o +obj-$(CONFIG_MACH_WRT300NV2) += wrt300nv2-setup.o obj-$(CONFIG_PCI) += $(obj-pci-$(CONFIG_PCI)) common-pci.o - obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/wrt300nv2-pci.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/wrt300nv2-pci.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/wrt300nv2-pci.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/wrt300nv2-pci.c 2007-10-23 19:11:31.000000000 +0200 +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/wrt300nv2-pci.c +=================================================================== +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/wrt300nv2-pci.c @@ -0,0 +1,65 @@ +/* + * arch/arch/mach-ixp4xx/wrt300nv2-pci.c @@ -104,9 +106,10 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/wrt300nv2-pci.c linux-2.6.23-owrt/ar +} + +subsys_initcall(wrt300nv2_pci_init); -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/wrt300nv2-setup.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/wrt300nv2-setup.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/wrt300nv2-setup.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/wrt300nv2-setup.c 2007-10-23 19:11:31.000000000 +0200 +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/wrt300nv2-setup.c +=================================================================== +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/wrt300nv2-setup.c @@ -0,0 +1,108 @@ +/* + * arch/arm/mach-ixp4xx/wrt300nv2-setup.c @@ -216,10 +219,11 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/wrt300nv2-setup.c linux-2.6.23-owrt/ + .init_machine = wrt300nv2_init, +MACHINE_END +#endif -diff -Nur linux-2.6.23/include/asm-arm/arch-ixp4xx/uncompress.h linux-2.6.23-owrt/include/asm-arm/arch-ixp4xx/uncompress.h ---- linux-2.6.23/include/asm-arm/arch-ixp4xx/uncompress.h 2007-10-23 18:03:35.000000000 +0200 -+++ linux-2.6.23-owrt/include/asm-arm/arch-ixp4xx/uncompress.h 2007-10-23 19:12:30.000000000 +0200 -@@ -42,7 +42,7 @@ +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/uncompress.h +=================================================================== +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/uncompress.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/uncompress.h +@@ -42,7 +42,7 @@ static __inline__ void __arch_decomp_set */ if (machine_is_adi_coyote() || machine_is_gtwx5715() || machine_is_gateway7001() || machine_is_wg302v2() || diff --git a/target/linux/ixp4xx/patches-2.6.23/131-wrt300nv2_mac_plat_info.patch b/target/linux/ixp4xx/patches-2.6.23/131-wrt300nv2_mac_plat_info.patch index 24dad0aea9..c4e52f9f3b 100644 --- a/target/linux/ixp4xx/patches-2.6.23/131-wrt300nv2_mac_plat_info.patch +++ b/target/linux/ixp4xx/patches-2.6.23/131-wrt300nv2_mac_plat_info.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/wrt300nv2-setup.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/wrt300nv2-setup.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/wrt300nv2-setup.c 2007-10-23 19:20:08.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/wrt300nv2-setup.c 2007-10-23 19:22:19.000000000 +0200 -@@ -76,9 +76,36 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/wrt300nv2-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/wrt300nv2-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/wrt300nv2-setup.c +@@ -76,9 +76,36 @@ static struct platform_device wrt300nv2_ .resource = &wrt300nv2_uart_resource, }; diff --git a/target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch b/target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch index a83c421cbf..024eb6198e 100644 --- a/target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch +++ b/target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Kconfig ---- linux-2.6.23/arch/arm/mach-ixp4xx/Kconfig 2007-10-23 19:20:08.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Kconfig 2007-10-23 19:26:46.000000000 +0200 -@@ -65,6 +65,14 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Kconfig ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +@@ -65,6 +65,14 @@ config MACH_PRONGHORNMETRO Engineering Pronghorn Metro Platform. For more information on this platform, see <file:Documentation/arm/IXP4xx>. @@ -16,7 +17,7 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23-owrt/arch/arm/m config MACH_COMPEX bool "Compex WP18 / NP18A" select PCI -@@ -163,7 +171,7 @@ +@@ -163,7 +171,7 @@ config MACH_FSG # config CPU_IXP46X bool @@ -25,10 +26,11 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23-owrt/arch/arm/m default y config CPU_IXP43X -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Makefile linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Makefile ---- linux-2.6.23/arch/arm/mach-ixp4xx/Makefile 2007-10-23 19:20:08.000000000 +0200 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/Makefile 2007-10-23 19:23:52.000000000 +0200 -@@ -19,6 +19,7 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Makefile ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +@@ -19,6 +19,7 @@ obj-pci-$(CONFIG_MACH_FSG) += fsg-pci.o obj-pci-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-pci.o obj-pci-$(CONFIG_MACH_COMPEX) += ixdp425-pci.o obj-pci-$(CONFIG_MACH_WRT300NV2) += wrt300nv2-pci.o @@ -36,17 +38,17 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/Makefile linux-2.6.23-owrt/arch/arm/ obj-y += common.o -@@ -36,6 +37,7 @@ +@@ -36,5 +37,6 @@ obj-$(CONFIG_MACH_FSG) += fsg-setup.o f obj-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-setup.o obj-$(CONFIG_MACH_COMPEX) += compex-setup.o obj-$(CONFIG_MACH_WRT300NV2) += wrt300nv2-setup.o +obj-$(CONFIG_MACH_SIDEWINDER) += sidewinder-setup.o obj-$(CONFIG_PCI) += $(obj-pci-$(CONFIG_PCI)) common-pci.o - obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/sidewinder-pci.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/sidewinder-pci.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/sidewinder-pci.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/sidewinder-pci.c 2007-10-23 19:23:52.000000000 +0200 +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/sidewinder-pci.c +=================================================================== +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/sidewinder-pci.c @@ -0,0 +1,71 @@ +/* + * arch/arch/mach-ixp4xx/pronghornmetro-pci.c @@ -119,9 +121,10 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/sidewinder-pci.c linux-2.6.23-owrt/a +} + +subsys_initcall(sidewinder_pci_init); -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/sidewinder-setup.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/sidewinder-setup.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/sidewinder-setup.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/sidewinder-setup.c 2007-10-23 19:23:52.000000000 +0200 +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/sidewinder-setup.c +=================================================================== +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/sidewinder-setup.c @@ -0,0 +1,115 @@ +/* + * arch/arm/mach-ixp4xx/sidewinder-setup.c diff --git a/target/linux/ixp4xx/patches-2.6.23/150-lanready_ap1000_support.patch b/target/linux/ixp4xx/patches-2.6.23/150-lanready_ap1000_support.patch index 4070da1d04..8e0bf60288 100644 --- a/target/linux/ixp4xx/patches-2.6.23/150-lanready_ap1000_support.patch +++ b/target/linux/ixp4xx/patches-2.6.23/150-lanready_ap1000_support.patch @@ -1,6 +1,7 @@ -diff -Nur linux-2.6.23.1/arch/arm/mach-ixp4xx/ap1000-setup.c linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/ap1000-setup.c ---- linux-2.6.23.1/arch/arm/mach-ixp4xx/ap1000-setup.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/ap1000-setup.c 2007-11-14 13:58:58.000000000 +0100 +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/ap1000-setup.c +=================================================================== +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/ap1000-setup.c @@ -0,0 +1,151 @@ +/* + * arch/arm/mach-ixp4xx/ap1000-setup.c @@ -153,10 +154,11 @@ diff -Nur linux-2.6.23.1/arch/arm/mach-ixp4xx/ap1000-setup.c linux-2.6.23.1-owrt + .init_machine = ap1000_init, +MACHINE_END +#endif -diff -Nur linux-2.6.23.1/arch/arm/mach-ixp4xx/ixdp425-pci.c linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/ixdp425-pci.c ---- linux-2.6.23.1/arch/arm/mach-ixp4xx/ixdp425-pci.c 2007-11-14 13:15:50.000000000 +0100 -+++ linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/ixdp425-pci.c 2007-11-14 13:27:16.000000000 +0100 -@@ -66,7 +66,8 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/ixdp425-pci.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/ixdp425-pci.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/ixdp425-pci.c +@@ -66,7 +66,8 @@ struct hw_pci ixdp425_pci __initdata = { int __init ixdp425_pci_init(void) { if (machine_is_ixdp425() || machine_is_ixcdp1100() || @@ -166,10 +168,11 @@ diff -Nur linux-2.6.23.1/arch/arm/mach-ixp4xx/ixdp425-pci.c linux-2.6.23.1-owrt/ pci_common_init(&ixdp425_pci); return 0; } -diff -Nur linux-2.6.23.1/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/Kconfig ---- linux-2.6.23.1/arch/arm/mach-ixp4xx/Kconfig 2007-11-14 13:15:50.000000000 +0100 -+++ linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/Kconfig 2007-11-14 13:25:07.000000000 +0100 -@@ -89,6 +89,14 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Kconfig ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +@@ -89,6 +89,14 @@ config MACH_WRT300NV2 WRT300N v2 router. For more information on this platform, see http://openwrt.org @@ -184,10 +187,11 @@ diff -Nur linux-2.6.23.1/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23.1-owrt/arch/a config ARCH_IXDP425 bool "IXDP425" help -diff -Nur linux-2.6.23.1/arch/arm/mach-ixp4xx/Makefile linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/Makefile ---- linux-2.6.23.1/arch/arm/mach-ixp4xx/Makefile 2007-11-14 13:15:50.000000000 +0100 -+++ linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/Makefile 2007-11-14 13:31:29.000000000 +0100 -@@ -20,6 +20,7 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Makefile ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +@@ -20,6 +20,7 @@ obj-pci-$(CONFIG_MACH_PRONGHORNMETRO) += obj-pci-$(CONFIG_MACH_COMPEX) += ixdp425-pci.o obj-pci-$(CONFIG_MACH_WRT300NV2) += wrt300nv2-pci.o obj-pci-$(CONFIG_MACH_SIDEWINDER) += sidewinder-pci.o @@ -195,17 +199,18 @@ diff -Nur linux-2.6.23.1/arch/arm/mach-ixp4xx/Makefile linux-2.6.23.1-owrt/arch/ obj-y += common.o -@@ -38,5 +39,6 @@ +@@ -38,5 +39,6 @@ obj-$(CONFIG_MACH_PRONGHORNMETRO) += pro obj-$(CONFIG_MACH_COMPEX) += compex-setup.o obj-$(CONFIG_MACH_WRT300NV2) += wrt300nv2-setup.o obj-$(CONFIG_MACH_SIDEWINDER) += sidewinder-setup.o +obj-$(CONFIG_MACH_AP1000) += ap1000-setup.o obj-$(CONFIG_PCI) += $(obj-pci-$(CONFIG_PCI)) common-pci.o -diff -Nur linux-2.6.23.1/arch/arm/tools/mach-types linux-2.6.23.1-owrt/arch/arm/tools/mach-types ---- linux-2.6.23.1/arch/arm/tools/mach-types 2007-11-14 13:15:50.000000000 +0100 -+++ linux-2.6.23.1-owrt/arch/arm/tools/mach-types 2007-11-14 13:26:06.000000000 +0100 -@@ -1367,3 +1367,4 @@ +Index: linux-2.6.23.17/arch/arm/tools/mach-types +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/tools/mach-types ++++ linux-2.6.23.17/arch/arm/tools/mach-types +@@ -1367,3 +1367,4 @@ db88f5281 MACH_DB88F5281 DB88F5281 13 csb726 MACH_CSB726 CSB726 1359 tik27 MACH_TIK27 TIK27 1360 mx_uc7420 MACH_MX_UC7420 MX_UC7420 1361 diff --git a/target/linux/ixp4xx/patches-2.6.23/151-lanready_ap1000_mac_plat_info.patch b/target/linux/ixp4xx/patches-2.6.23/151-lanready_ap1000_mac_plat_info.patch index 4259ff971b..7ad022d32f 100644 --- a/target/linux/ixp4xx/patches-2.6.23/151-lanready_ap1000_mac_plat_info.patch +++ b/target/linux/ixp4xx/patches-2.6.23/151-lanready_ap1000_mac_plat_info.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23.1/arch/arm/mach-ixp4xx/ap1000-setup.c linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/ap1000-setup.c ---- linux-2.6.23.1/arch/arm/mach-ixp4xx/ap1000-setup.c 2007-11-14 14:11:10.000000000 +0100 -+++ linux-2.6.23.1-owrt/arch/arm/mach-ixp4xx/ap1000-setup.c 2007-11-14 14:09:30.000000000 +0100 -@@ -90,9 +90,36 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/ap1000-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/ap1000-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/ap1000-setup.c +@@ -90,9 +90,36 @@ static struct platform_device ap1000_uar .resource = ap1000_uart_resources }; diff --git a/target/linux/ixp4xx/patches-2.6.23/160-wg302v1_support.patch b/target/linux/ixp4xx/patches-2.6.23/160-wg302v1_support.patch index 129e5ca8e1..590a751348 100644 --- a/target/linux/ixp4xx/patches-2.6.23/160-wg302v1_support.patch +++ b/target/linux/ixp4xx/patches-2.6.23/160-wg302v1_support.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/Kconfig ---- linux-2.6.23.12/arch/arm/mach-ixp4xx/Kconfig 2008-01-14 22:08:42.000000000 +0100 -+++ linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/Kconfig 2008-01-14 22:12:21.000000000 +0100 -@@ -49,6 +49,14 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Kconfig ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +@@ -49,6 +49,14 @@ config MACH_GATEWAY7001 7001 Access Point. For more information on this platform, see http://openwrt.org @@ -16,10 +17,11 @@ diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/Kconfig linux-2.6.23.12-owrt/arch config MACH_WG302V2 bool "Netgear WG302 v2 / WAG302 v2" select PCI -diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/Makefile linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/Makefile ---- linux-2.6.23.12/arch/arm/mach-ixp4xx/Makefile 2008-01-14 22:08:42.000000000 +0100 -+++ linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/Makefile 2008-01-14 22:11:47.000000000 +0100 -@@ -14,6 +14,7 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Makefile ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +@@ -14,6 +14,7 @@ obj-pci-$(CONFIG_MACH_NSLU2) += nslu2-p obj-pci-$(CONFIG_MACH_NAS100D) += nas100d-pci.o obj-pci-$(CONFIG_MACH_DSMG600) += dsmg600-pci.o obj-pci-$(CONFIG_MACH_GATEWAY7001) += gateway7001-pci.o @@ -27,7 +29,7 @@ diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/Makefile linux-2.6.23.12-owrt/arc obj-pci-$(CONFIG_MACH_WG302V2) += wg302v2-pci.o obj-pci-$(CONFIG_MACH_FSG) += fsg-pci.o obj-pci-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-pci.o -@@ -33,6 +34,7 @@ +@@ -33,6 +34,7 @@ obj-$(CONFIG_MACH_NSLU2) += nslu2-setup. obj-$(CONFIG_MACH_NAS100D) += nas100d-setup.o nas100d-power.o obj-$(CONFIG_MACH_DSMG600) += dsmg600-setup.o dsmg600-power.o obj-$(CONFIG_MACH_GATEWAY7001) += gateway7001-setup.o @@ -35,9 +37,10 @@ diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/Makefile linux-2.6.23.12-owrt/arc obj-$(CONFIG_MACH_WG302V2) += wg302v2-setup.o obj-$(CONFIG_MACH_FSG) += fsg-setup.o fsg-power.o obj-$(CONFIG_MACH_PRONGHORNMETRO) += pronghornmetro-setup.o -diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/wg302v1-pci.c linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/wg302v1-pci.c ---- linux-2.6.23.12/arch/arm/mach-ixp4xx/wg302v1-pci.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/wg302v1-pci.c 2008-01-14 22:33:52.000000000 +0100 +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v1-pci.c +=================================================================== +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v1-pci.c @@ -0,0 +1,63 @@ +/* + * arch/arch/mach-ixp4xx/wg302v1-pci.c @@ -102,9 +105,10 @@ diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/wg302v1-pci.c linux-2.6.23.12-owr +} + +subsys_initcall(wg302v1_pci_init); -diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/wg302v1-setup.c linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/wg302v1-setup.c ---- linux-2.6.23.12/arch/arm/mach-ixp4xx/wg302v1-setup.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/wg302v1-setup.c 2008-01-14 23:04:01.000000000 +0100 +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v1-setup.c +=================================================================== +--- /dev/null ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v1-setup.c @@ -0,0 +1,109 @@ +/* + * arch/arm/mach-ixp4xx/wg302v1-setup.c diff --git a/target/linux/ixp4xx/patches-2.6.23/161-wg302v1_mac_plat_info.patch b/target/linux/ixp4xx/patches-2.6.23/161-wg302v1_mac_plat_info.patch index 250d85e6d9..608f036a28 100644 --- a/target/linux/ixp4xx/patches-2.6.23/161-wg302v1_mac_plat_info.patch +++ b/target/linux/ixp4xx/patches-2.6.23/161-wg302v1_mac_plat_info.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/wg302v1-setup.c linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/wg302v1-setup.c ---- linux-2.6.23.12/arch/arm/mach-ixp4xx/wg302v1-setup.c 2008-01-14 23:06:42.000000000 +0100 -+++ linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/wg302v1-setup.c 2008-01-14 23:03:16.000000000 +0100 -@@ -77,9 +77,27 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v1-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/wg302v1-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v1-setup.c +@@ -77,9 +77,27 @@ static struct platform_device wg302v1_ua .resource = &wg302v1_uart_resource, }; diff --git a/target/linux/ixp4xx/patches-2.6.23/162-wg302v1_mem_fixup.patch b/target/linux/ixp4xx/patches-2.6.23/162-wg302v1_mem_fixup.patch index b370088aec..71a2e7ff85 100644 --- a/target/linux/ixp4xx/patches-2.6.23/162-wg302v1_mem_fixup.patch +++ b/target/linux/ixp4xx/patches-2.6.23/162-wg302v1_mem_fixup.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/wg302v1-setup.c linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/wg302v1-setup.c ---- linux-2.6.23.12/arch/arm/mach-ixp4xx/wg302v1-setup.c 2008-01-14 23:12:03.000000000 +0100 -+++ linux-2.6.23.12-owrt/arch/arm/mach-ixp4xx/wg302v1-setup.c 2008-01-14 23:11:34.000000000 +0100 -@@ -100,6 +100,36 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v1-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/wg302v1-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v1-setup.c +@@ -100,6 +100,36 @@ static struct platform_device *wg302v1_d &wg302_eth[0], }; @@ -38,7 +39,7 @@ diff -Nur linux-2.6.23.12/arch/arm/mach-ixp4xx/wg302v1-setup.c linux-2.6.23.12-o static void __init wg302v1_init(void) { ixp4xx_sys_init(); -@@ -118,6 +148,7 @@ +@@ -118,6 +148,7 @@ MACHINE_START(WG302V1, "Netgear WG302 v1 /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, diff --git a/target/linux/ixp4xx/patches-2.6.23/200-npe_driver.patch b/target/linux/ixp4xx/patches-2.6.23/200-npe_driver.patch index 8be7af7b54..6e9aaa97a3 100644 --- a/target/linux/ixp4xx/patches-2.6.23/200-npe_driver.patch +++ b/target/linux/ixp4xx/patches-2.6.23/200-npe_driver.patch @@ -1,8 +1,8 @@ -diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c -index 4de432e..c4c810b 100644 ---- a/arch/arm/kernel/setup.c -+++ b/arch/arm/kernel/setup.c -@@ -61,6 +61,7 @@ extern int root_mountflags; +Index: linux-2.6.23.17/arch/arm/kernel/setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/kernel/setup.c ++++ linux-2.6.23.17/arch/arm/kernel/setup.c +@@ -62,6 +62,7 @@ extern int root_mountflags; extern void _stext, _text, _etext, __data_start, _edata, _end; unsigned int processor_id; @@ -10,11 +10,11 @@ index 4de432e..c4c810b 100644 unsigned int __machine_arch_type; EXPORT_SYMBOL(__machine_arch_type); -diff --git a/arch/arm/mach-ixp4xx/Kconfig b/arch/arm/mach-ixp4xx/Kconfig -index 61b2dfc..e774447 100644 ---- a/arch/arm/mach-ixp4xx/Kconfig -+++ b/arch/arm/mach-ixp4xx/Kconfig -@@ -189,6 +189,20 @@ config IXP4XX_INDIRECT_PCI +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Kconfig ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +@@ -246,6 +246,20 @@ config IXP4XX_INDIRECT_PCI need to use the indirect method instead. If you don't know what you need, leave this option unselected. @@ -35,21 +35,21 @@ index 61b2dfc..e774447 100644 endmenu endif -diff --git a/arch/arm/mach-ixp4xx/Makefile b/arch/arm/mach-ixp4xx/Makefile -index 77e00ad..4bb97e1 100644 ---- a/arch/arm/mach-ixp4xx/Makefile -+++ b/arch/arm/mach-ixp4xx/Makefile -@@ -30,3 +30,5 @@ obj-$(CONFIG_MACH_GATEWAY7001) += gateway7001-setup.o - obj-$(CONFIG_MACH_WG302V2) += wg302v2-setup.o +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Makefile ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Makefile +@@ -44,3 +44,5 @@ obj-$(CONFIG_MACH_SIDEWINDER) += sidewin + obj-$(CONFIG_MACH_AP1000) += ap1000-setup.o obj-$(CONFIG_PCI) += $(obj-pci-$(CONFIG_PCI)) common-pci.o +obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o +obj-$(CONFIG_IXP4XX_NPE) += ixp4xx_npe.o -diff --git a/arch/arm/mach-ixp4xx/ixdp425-setup.c b/arch/arm/mach-ixp4xx/ixdp425-setup.c -index d5008d8..10b41c6 100644 ---- a/arch/arm/mach-ixp4xx/ixdp425-setup.c -+++ b/arch/arm/mach-ixp4xx/ixdp425-setup.c -@@ -177,6 +177,31 @@ static struct platform_device ixdp425_uart = { +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/ixdp425-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/ixdp425-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/ixdp425-setup.c +@@ -177,6 +177,31 @@ static struct platform_device ixdp425_ua .resource = ixdp425_uart_resources }; @@ -79,9 +79,9 @@ index d5008d8..10b41c6 100644 +}; + static struct platform_device *ixdp425_devices[] __initdata = { - &ixdp425_i2c_controller, + &ixdp425_i2c_gpio, &ixdp425_flash, -@@ -184,7 +209,9 @@ static struct platform_device *ixdp425_devices[] __initdata = { +@@ -184,7 +209,9 @@ static struct platform_device *ixdp425_d defined(CONFIG_MTD_NAND_PLATFORM_MODULE) &ixdp425_flash_nand, #endif @@ -92,11 +92,10 @@ index d5008d8..10b41c6 100644 }; static void __init ixdp425_init(void) -diff --git a/arch/arm/mach-ixp4xx/ixp4xx_npe.c b/arch/arm/mach-ixp4xx/ixp4xx_npe.c -new file mode 100644 -index 0000000..83c137e +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/ixp4xx_npe.c +=================================================================== --- /dev/null -+++ b/arch/arm/mach-ixp4xx/ixp4xx_npe.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/ixp4xx_npe.c @@ -0,0 +1,741 @@ +/* + * Intel IXP4xx Network Processor Engine driver for Linux @@ -839,11 +838,10 @@ index 0000000..83c137e +EXPORT_SYMBOL(npe_send_message); +EXPORT_SYMBOL(npe_recv_message); +EXPORT_SYMBOL(npe_send_recv_message); -diff --git a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c -new file mode 100644 -index 0000000..e833013 +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c +=================================================================== --- /dev/null -+++ b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c @@ -0,0 +1,274 @@ +/* + * Intel IXP4xx Queue Manager driver for Linux @@ -1119,10 +1117,10 @@ index 0000000..e833013 +EXPORT_SYMBOL(qmgr_disable_irq); +EXPORT_SYMBOL(qmgr_request_queue); +EXPORT_SYMBOL(qmgr_release_queue); -diff --git a/drivers/net/arm/Kconfig b/drivers/net/arm/Kconfig -index f9cc2b6..9274d3f 100644 ---- a/drivers/net/arm/Kconfig -+++ b/drivers/net/arm/Kconfig +Index: linux-2.6.23.17/drivers/net/arm/Kconfig +=================================================================== +--- linux-2.6.23.17.orig/drivers/net/arm/Kconfig ++++ linux-2.6.23.17/drivers/net/arm/Kconfig @@ -47,3 +47,13 @@ config EP93XX_ETH help This is a driver for the ethernet hardware included in EP93xx CPUs. @@ -1137,20 +1135,19 @@ index f9cc2b6..9274d3f 100644 + help + Say Y here if you want to use built-in Ethernet ports + on IXP4xx processor. -diff --git a/drivers/net/arm/Makefile b/drivers/net/arm/Makefile -index a4c8682..7c812ac 100644 ---- a/drivers/net/arm/Makefile -+++ b/drivers/net/arm/Makefile +Index: linux-2.6.23.17/drivers/net/arm/Makefile +=================================================================== +--- linux-2.6.23.17.orig/drivers/net/arm/Makefile ++++ linux-2.6.23.17/drivers/net/arm/Makefile @@ -9,3 +9,4 @@ obj-$(CONFIG_ARM_ETHER3) += ether3.o obj-$(CONFIG_ARM_ETHER1) += ether1.o obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o obj-$(CONFIG_EP93XX_ETH) += ep93xx_eth.o +obj-$(CONFIG_IXP4XX_ETH) += ixp4xx_eth.o -diff --git a/drivers/net/arm/ixp4xx_eth.c b/drivers/net/arm/ixp4xx_eth.c -new file mode 100644 -index 0000000..2c23f50 +Index: linux-2.6.23.17/drivers/net/arm/ixp4xx_eth.c +=================================================================== --- /dev/null -+++ b/drivers/net/arm/ixp4xx_eth.c ++++ linux-2.6.23.17/drivers/net/arm/ixp4xx_eth.c @@ -0,0 +1,1259 @@ +/* + * Intel IXP4xx Ethernet driver for Linux @@ -2411,10 +2408,10 @@ index 0000000..2c23f50 +MODULE_LICENSE("GPL v2"); +module_init(eth_init_module); +module_exit(eth_cleanup_module); -diff --git a/drivers/net/wan/Kconfig b/drivers/net/wan/Kconfig -index a3df09e..94e7aa7 100644 ---- a/drivers/net/wan/Kconfig -+++ b/drivers/net/wan/Kconfig +Index: linux-2.6.23.17/drivers/net/wan/Kconfig +=================================================================== +--- linux-2.6.23.17.orig/drivers/net/wan/Kconfig ++++ linux-2.6.23.17/drivers/net/wan/Kconfig @@ -334,6 +334,15 @@ config DSCC4_PCI_RST Say Y if your card supports this feature. @@ -2431,10 +2428,10 @@ index a3df09e..94e7aa7 100644 config DLCI tristate "Frame Relay DLCI support" ---help--- -diff --git a/drivers/net/wan/Makefile b/drivers/net/wan/Makefile -index d61fef3..1b1d116 100644 ---- a/drivers/net/wan/Makefile -+++ b/drivers/net/wan/Makefile +Index: linux-2.6.23.17/drivers/net/wan/Makefile +=================================================================== +--- linux-2.6.23.17.orig/drivers/net/wan/Makefile ++++ linux-2.6.23.17/drivers/net/wan/Makefile @@ -42,6 +42,7 @@ obj-$(CONFIG_C101) += c101.o obj-$(CONFIG_WANXL) += wanxl.o obj-$(CONFIG_PCI200SYN) += pci200syn.o @@ -2443,11 +2440,10 @@ index d61fef3..1b1d116 100644 clean-files := wanxlfw.inc $(obj)/wanxl.o: $(obj)/wanxlfw.inc -diff --git a/drivers/net/wan/ixp4xx_hss.c b/drivers/net/wan/ixp4xx_hss.c -new file mode 100644 -index 0000000..c4cdace +Index: linux-2.6.23.17/drivers/net/wan/ixp4xx_hss.c +=================================================================== --- /dev/null -+++ b/drivers/net/wan/ixp4xx_hss.c ++++ linux-2.6.23.17/drivers/net/wan/ixp4xx_hss.c @@ -0,0 +1,1270 @@ +/* + * Intel IXP4xx HSS (synchronous serial port) driver for Linux @@ -3719,10 +3715,10 @@ index 0000000..c4cdace +MODULE_LICENSE("GPL v2"); +module_init(hss_init_module); +module_exit(hss_cleanup_module); -diff --git a/include/asm-arm/arch-ixp4xx/cpu.h b/include/asm-arm/arch-ixp4xx/cpu.h -index d2523b3..2fa3d6b 100644 ---- a/include/asm-arm/arch-ixp4xx/cpu.h -+++ b/include/asm-arm/arch-ixp4xx/cpu.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/cpu.h +=================================================================== +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/cpu.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/cpu.h @@ -28,4 +28,19 @@ extern unsigned int processor_id; #define cpu_is_ixp46x() ((processor_id & IXP4XX_PROCESSOR_ID_MASK) == \ IXP465_PROCESSOR_ID_VALUE) @@ -3743,10 +3739,10 @@ index d2523b3..2fa3d6b 100644 +} + #endif /* _ASM_ARCH_CPU_H */ -diff --git a/include/asm-arm/arch-ixp4xx/hardware.h b/include/asm-arm/arch-ixp4xx/hardware.h -index 297ceda..73e8dc3 100644 ---- a/include/asm-arm/arch-ixp4xx/hardware.h -+++ b/include/asm-arm/arch-ixp4xx/hardware.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/hardware.h +=================================================================== +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/hardware.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/hardware.h @@ -27,13 +27,13 @@ #define pcibios_assign_all_busses() 1 @@ -3764,10 +3760,10 @@ index 297ceda..73e8dc3 100644 /* Platform helper functions and definitions */ #include "platform.h" -diff --git a/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h b/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h -index 5d949d7..c704fe8 100644 ---- a/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h -+++ b/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h +=================================================================== +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h @@ -15,10 +15,6 @@ * */ @@ -3816,11 +3812,10 @@ index 5d949d7..c704fe8 100644 + IXP4XX_FEATURE_XSCALE_MAX_FREQ) + #endif -diff --git a/include/asm-arm/arch-ixp4xx/npe.h b/include/asm-arm/arch-ixp4xx/npe.h -new file mode 100644 -index 0000000..37d0511 +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/npe.h +=================================================================== --- /dev/null -+++ b/include/asm-arm/arch-ixp4xx/npe.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/npe.h @@ -0,0 +1,39 @@ +#ifndef __IXP4XX_NPE_H +#define __IXP4XX_NPE_H @@ -3861,11 +3856,11 @@ index 0000000..37d0511 +void npe_release(struct npe *npe); + +#endif /* __IXP4XX_NPE_H */ -diff --git a/include/asm-arm/arch-ixp4xx/platform.h b/include/asm-arm/arch-ixp4xx/platform.h -index 2a44d3d..695b9c4 100644 ---- a/include/asm-arm/arch-ixp4xx/platform.h -+++ b/include/asm-arm/arch-ixp4xx/platform.h -@@ -77,8 +77,7 @@ extern unsigned long ixp4xx_exp_bus_size; +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/platform.h +=================================================================== +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/platform.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/platform.h +@@ -77,8 +77,7 @@ extern unsigned long ixp4xx_exp_bus_size /* * The IXP4xx chips do not have an I2C unit, so GPIO lines are just @@ -3903,11 +3898,10 @@ index 2a44d3d..695b9c4 100644 /* * This structure provide a means for the board setup code * to give information to th pata_ixp4xx driver. It is -diff --git a/include/asm-arm/arch-ixp4xx/qmgr.h b/include/asm-arm/arch-ixp4xx/qmgr.h -new file mode 100644 -index 0000000..1e52b95 +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/qmgr.h +=================================================================== --- /dev/null -+++ b/include/asm-arm/arch-ixp4xx/qmgr.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/qmgr.h @@ -0,0 +1,126 @@ +/* + * Copyright (C) 2007 Krzysztof Halasa <khc@pm.waw.pl> @@ -4035,10 +4029,10 @@ index 0000000..1e52b95 +} + +#endif -diff --git a/include/asm-arm/arch-ixp4xx/uncompress.h b/include/asm-arm/arch-ixp4xx/uncompress.h -index f7a35b7..34ef48f 100644 ---- a/include/asm-arm/arch-ixp4xx/uncompress.h -+++ b/include/asm-arm/arch-ixp4xx/uncompress.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/uncompress.h +=================================================================== +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/uncompress.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/uncompress.h @@ -13,7 +13,7 @@ #ifndef _ARCH_UNCOMPRESS_H_ #define _ARCH_UNCOMPRESS_H_ diff --git a/target/linux/ixp4xx/patches-2.6.23/201-npe_driver_print_license_location.patch b/target/linux/ixp4xx/patches-2.6.23/201-npe_driver_print_license_location.patch index fad4033419..c986227866 100644 --- a/target/linux/ixp4xx/patches-2.6.23/201-npe_driver_print_license_location.patch +++ b/target/linux/ixp4xx/patches-2.6.23/201-npe_driver_print_license_location.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/ixp4xx_npe.c linux-2.6.23-openwrt/arch/arm/mach-ixp4xx/ixp4xx_npe.c ---- linux-2.6.23/arch/arm/mach-ixp4xx/ixp4xx_npe.c 2007-10-22 22:18:15.000000000 +0200 -+++ linux-2.6.23-openwrt/arch/arm/mach-ixp4xx/ixp4xx_npe.c 2007-10-22 22:32:48.000000000 +0200 -@@ -585,6 +585,8 @@ +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/ixp4xx_npe.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/ixp4xx_npe.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/ixp4xx_npe.c +@@ -588,6 +588,8 @@ int npe_load_firmware(struct npe *npe, c npe_reset(npe); #endif diff --git a/target/linux/ixp4xx/patches-2.6.23/202-npe_driver_no_phy.patch b/target/linux/ixp4xx/patches-2.6.23/202-npe_driver_no_phy.patch index 766031502b..b3c9ca0246 100644 --- a/target/linux/ixp4xx/patches-2.6.23/202-npe_driver_no_phy.patch +++ b/target/linux/ixp4xx/patches-2.6.23/202-npe_driver_no_phy.patch @@ -1,7 +1,8 @@ -diff -Nur linux-2.6.23.16/drivers/net/arm/ixp4xx_eth.c linux-2.6.23.16-owrt/drivers/net/arm/ixp4xx_eth.c ---- linux-2.6.23.16/drivers/net/arm/ixp4xx_eth.c 2008-02-15 18:18:02.000000000 +0100 -+++ linux-2.6.23.16-owrt/drivers/net/arm/ixp4xx_eth.c 2008-02-18 12:14:42.000000000 +0100 -@@ -297,6 +297,27 @@ +Index: linux-2.6.23.17/drivers/net/arm/ixp4xx_eth.c +=================================================================== +--- linux-2.6.23.17.orig/drivers/net/arm/ixp4xx_eth.c ++++ linux-2.6.23.17/drivers/net/arm/ixp4xx_eth.c +@@ -297,6 +297,27 @@ static int mdio_read(struct net_device * unsigned long flags; u16 val; @@ -29,7 +30,7 @@ diff -Nur linux-2.6.23.16/drivers/net/arm/ixp4xx_eth.c linux-2.6.23.16-owrt/driv spin_lock_irqsave(&mdio_lock, flags); val = mdio_cmd(dev, phy_id, location, 0, 0); spin_unlock_irqrestore(&mdio_lock, flags); -@@ -308,6 +329,9 @@ +@@ -308,6 +329,9 @@ static void mdio_write(struct net_device { unsigned long flags; diff --git a/target/linux/ixp4xx/patches-2.6.23/294-eeprom_new_notifier.patch b/target/linux/ixp4xx/patches-2.6.23/294-eeprom_new_notifier.patch index 4aa7a988be..f91e7784ff 100644 --- a/target/linux/ixp4xx/patches-2.6.23/294-eeprom_new_notifier.patch +++ b/target/linux/ixp4xx/patches-2.6.23/294-eeprom_new_notifier.patch @@ -1,6 +1,7 @@ -diff -uprN linux-2.6.23.orig/drivers/i2c/chips/eeprom.c linux-2.6.23/drivers/i2c/chips/eeprom.c ---- linux-2.6.23.orig/drivers/i2c/chips/eeprom.c 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/drivers/i2c/chips/eeprom.c 2007-10-11 00:57:25.000000000 -0500 +Index: linux-2.6.23.17/drivers/i2c/chips/eeprom.c +=================================================================== +--- linux-2.6.23.17.orig/drivers/i2c/chips/eeprom.c ++++ linux-2.6.23.17/drivers/i2c/chips/eeprom.c @@ -33,6 +33,8 @@ #include <linux/jiffies.h> #include <linux/i2c.h> @@ -38,7 +39,7 @@ diff -uprN linux-2.6.23.orig/drivers/i2c/chips/eeprom.c linux-2.6.23/drivers/i2c static int eeprom_attach_adapter(struct i2c_adapter *adapter); static int eeprom_detect(struct i2c_adapter *adapter, int address, int kind); -@@ -191,6 +174,7 @@ static int eeprom_detect(struct i2c_adap +@@ -198,6 +181,7 @@ static int eeprom_detect(struct i2c_adap data->valid = 0; mutex_init(&data->update_lock); data->nature = UNKNOWN; @@ -46,7 +47,7 @@ diff -uprN linux-2.6.23.orig/drivers/i2c/chips/eeprom.c linux-2.6.23/drivers/i2c /* Tell the I2C layer a new client has arrived */ if ((err = i2c_attach_client(new_client))) -@@ -214,6 +198,9 @@ static int eeprom_detect(struct i2c_adap +@@ -225,6 +209,9 @@ static int eeprom_detect(struct i2c_adap if (err) goto exit_detach; @@ -56,7 +57,7 @@ diff -uprN linux-2.6.23.orig/drivers/i2c/chips/eeprom.c linux-2.6.23/drivers/i2c return 0; exit_detach: -@@ -239,6 +226,41 @@ static int eeprom_detach_client(struct i +@@ -250,6 +237,41 @@ static int eeprom_detach_client(struct i return 0; } @@ -98,9 +99,10 @@ diff -uprN linux-2.6.23.orig/drivers/i2c/chips/eeprom.c linux-2.6.23/drivers/i2c static int __init eeprom_init(void) { return i2c_add_driver(&eeprom_driver); -diff -uprN linux-2.6.23.orig/include/linux/eeprom.h linux-2.6.23/include/linux/eeprom.h ---- linux-2.6.23.orig/include/linux/eeprom.h 1969-12-31 18:00:00.000000000 -0600 -+++ linux-2.6.23/include/linux/eeprom.h 2007-10-11 00:57:25.000000000 -0500 +Index: linux-2.6.23.17/include/linux/eeprom.h +=================================================================== +--- /dev/null ++++ linux-2.6.23.17/include/linux/eeprom.h @@ -0,0 +1,71 @@ +#ifndef _LINUX_EEPROM_H +#define _LINUX_EEPROM_H @@ -173,9 +175,10 @@ diff -uprN linux-2.6.23.orig/include/linux/eeprom.h linux-2.6.23/include/linux/e +extern int unregister_eeprom_notifier(struct notifier_block *nb); + +#endif /* _LINUX_EEPROM_H */ -diff -uprN linux-2.6.23.orig/include/linux/notifier.h linux-2.6.23/include/linux/notifier.h ---- linux-2.6.23.orig/include/linux/notifier.h 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/include/linux/notifier.h 2007-10-11 00:57:25.000000000 -0500 +Index: linux-2.6.23.17/include/linux/notifier.h +=================================================================== +--- linux-2.6.23.17.orig/include/linux/notifier.h ++++ linux-2.6.23.17/include/linux/notifier.h @@ -231,5 +231,8 @@ static inline int notifier_to_errno(int #define PM_SUSPEND_PREPARE 0x0003 /* Going to suspend the system */ #define PM_POST_SUSPEND 0x0004 /* Suspend finished */ diff --git a/target/linux/ixp4xx/patches-2.6.23/296-avila_mac_plat_info.patch b/target/linux/ixp4xx/patches-2.6.23/296-avila_mac_plat_info.patch index e4813fe2c9..dfaf7ffa3d 100644 --- a/target/linux/ixp4xx/patches-2.6.23/296-avila_mac_plat_info.patch +++ b/target/linux/ixp4xx/patches-2.6.23/296-avila_mac_plat_info.patch @@ -1,8 +1,8 @@ -diff --git a/arch/arm/mach-ixp4xx/avila-setup.c b/arch/arm/mach-ixp4xx/avila-setup.c -index e38f45f..10ed5d6 100644 ---- a/arch/arm/mach-ixp4xx/avila-setup.c -+++ b/arch/arm/mach-ixp4xx/avila-setup.c -@@ -132,10 +132,37 @@ static struct platform_device avila_pata = { +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/avila-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c +@@ -132,10 +132,37 @@ static struct platform_device avila_pata .resource = avila_pata_resources, }; diff --git a/target/linux/ixp4xx/patches-2.6.23/298-avila_rtc_fixup.patch b/target/linux/ixp4xx/patches-2.6.23/298-avila_rtc_fixup.patch index f706c100a8..4bee2044fb 100644 --- a/target/linux/ixp4xx/patches-2.6.23/298-avila_rtc_fixup.patch +++ b/target/linux/ixp4xx/patches-2.6.23/298-avila_rtc_fixup.patch @@ -1,8 +1,9 @@ -diff -uprN linux-2.6.23.orig/arch/arm/mach-ixp4xx/avila-setup.c linux-2.6.23/arch/arm/mach-ixp4xx/avila-setup.c ---- linux-2.6.23.orig/arch/arm/mach-ixp4xx/avila-setup.c 2007-10-09 15:31:38.000000000 -0500 -+++ linux-2.6.23/arch/arm/mach-ixp4xx/avila-setup.c 2007-10-11 01:08:21.000000000 -0500 -@@ -138,6 +138,35 @@ static struct platform_device *avila_dev - &avila_uart +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/avila-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c +@@ -165,6 +165,35 @@ static struct platform_device *avila_dev + &avila_eth[1], }; +static char avila_rtc_probe[] __initdata = "rtc-ds1672.probe=0,0x68 "; @@ -37,7 +38,7 @@ diff -uprN linux-2.6.23.orig/arch/arm/mach-ixp4xx/avila-setup.c linux-2.6.23/arc static void __init avila_init(void) { ixp4xx_sys_init(); -@@ -165,6 +194,7 @@ MACHINE_START(AVILA, "Gateworks Avila Ne +@@ -192,6 +221,7 @@ MACHINE_START(AVILA, "Gateworks Avila Ne /* Maintainer: Deepak Saxena <dsaxena@plexity.net> */ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, @@ -45,7 +46,7 @@ diff -uprN linux-2.6.23.orig/arch/arm/mach-ixp4xx/avila-setup.c linux-2.6.23/arc .map_io = ixp4xx_map_io, .init_irq = ixp4xx_init_irq, .timer = &ixp4xx_timer, -@@ -182,6 +212,7 @@ MACHINE_START(LOFT, "Giant Shoulder Inc +@@ -209,6 +239,7 @@ MACHINE_START(LOFT, "Giant Shoulder Inc /* Maintainer: Tom Billman <kernel@giantshoulderinc.com> */ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, diff --git a/target/linux/ixp4xx/patches-2.6.23/300-avila_fetch_mac.patch b/target/linux/ixp4xx/patches-2.6.23/300-avila_fetch_mac.patch index 463383f382..7303399e56 100644 --- a/target/linux/ixp4xx/patches-2.6.23/300-avila_fetch_mac.patch +++ b/target/linux/ixp4xx/patches-2.6.23/300-avila_fetch_mac.patch @@ -1,6 +1,7 @@ -diff -r -u linux-2.6.23.12/arch/arm/mach-ixp4xx/avila-setup.c ../../../../trunk/build_dir/linux-ixp4xx_generic/linux-2.6.23.12/arch/arm/mach-ixp4xx/avila-setup.c ---- linux-2.6.23.12/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-04 01:28:24.134925761 +0100 -+++ ../../../../trunk/build_dir/linux-ixp4xx_generic/linux-2.6.23.12/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-04 01:23:27.874042817 +0100 +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c +=================================================================== +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/avila-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c @@ -14,10 +14,18 @@ #include <linux/kernel.h> #include <linux/init.h> @@ -20,7 +21,7 @@ diff -r -u linux-2.6.23.12/arch/arm/mach-ixp4xx/avila-setup.c ../../../../trunk/ #include <linux/i2c-gpio.h> #include <asm/types.h> -@@ -194,9 +202,48 @@ +@@ -194,9 +202,48 @@ static void __init avila_fixup(struct ma t->hdr.size = 0; } @@ -69,4 +70,3 @@ diff -r -u linux-2.6.23.12/arch/arm/mach-ixp4xx/avila-setup.c ../../../../trunk/ avila_flash_resource.start = IXP4XX_EXP_BUS_BASE(0); avila_flash_resource.end = - diff --git a/target/linux/ixp4xx/patches-2.6.23/301-avila_led.patch b/target/linux/ixp4xx/patches-2.6.23/301-avila_led.patch index b82ed7df57..f4b56a0ea9 100644 --- a/target/linux/ixp4xx/patches-2.6.23/301-avila_led.patch +++ b/target/linux/ixp4xx/patches-2.6.23/301-avila_led.patch @@ -1,8 +1,8 @@ -Index: linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c =================================================================== ---- linux-2.6.23.14.orig/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-25 18:26:06.000000000 +0100 -+++ linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-25 18:44:02.000000000 +0100 -@@ -165,12 +165,34 @@ +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/avila-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c +@@ -165,12 +165,34 @@ static struct platform_device avila_eth[ } }; @@ -37,10 +37,10 @@ Index: linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c }; static char avila_rtc_probe[] __initdata = "rtc-ds1672.probe=0,0x68 "; -Index: linux-2.6.23.14/include/asm-arm/arch-ixp4xx/avila.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/avila.h =================================================================== ---- linux-2.6.23.14.orig/include/asm-arm/arch-ixp4xx/avila.h 2008-01-25 18:26:02.000000000 +0100 -+++ linux-2.6.23.14/include/asm-arm/arch-ixp4xx/avila.h 2008-01-25 18:26:06.000000000 +0100 +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/avila.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/avila.h @@ -36,4 +36,5 @@ #define AVILA_PCI_INTC_PIN 9 #define AVILA_PCI_INTD_PIN 8 diff --git a/target/linux/ixp4xx/patches-2.6.23/302-gpio_device.patch b/target/linux/ixp4xx/patches-2.6.23/302-gpio_device.patch index 0a1831b4fc..a1f0ee45b8 100644 --- a/target/linux/ixp4xx/patches-2.6.23/302-gpio_device.patch +++ b/target/linux/ixp4xx/patches-2.6.23/302-gpio_device.patch @@ -1,8 +1,8 @@ -Index: linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c =================================================================== ---- linux-2.6.23.14.orig/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-26 02:59:30.000000000 +0100 -+++ linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-26 03:03:07.000000000 +0100 -@@ -183,6 +183,23 @@ +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/avila-setup.c ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c +@@ -183,6 +183,23 @@ static struct platform_device avila_leds }; #endif @@ -26,7 +26,7 @@ Index: linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c static struct platform_device *avila_devices[] __initdata = { &avila_i2c_gpio, -@@ -193,6 +210,9 @@ +@@ -193,6 +210,9 @@ static struct platform_device *avila_dev #ifdef CONFIG_LEDS_IXP4XX &avila_leds, #endif @@ -36,10 +36,10 @@ Index: linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c }; static char avila_rtc_probe[] __initdata = "rtc-ds1672.probe=0,0x68 "; -Index: linux-2.6.23.14/include/asm-arm/arch-ixp4xx/avila.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/avila.h =================================================================== ---- linux-2.6.23.14.orig/include/asm-arm/arch-ixp4xx/avila.h 2008-01-26 03:03:27.000000000 +0100 -+++ linux-2.6.23.14/include/asm-arm/arch-ixp4xx/avila.h 2008-01-26 03:07:02.000000000 +0100 +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/avila.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/avila.h @@ -38,3 +38,6 @@ /* User LED */ diff --git a/target/linux/ixp4xx/patches-2.6.23/400-dmabounce.patch b/target/linux/ixp4xx/patches-2.6.23/400-dmabounce.patch index f4910261e3..cd7b05856a 100644 --- a/target/linux/ixp4xx/patches-2.6.23/400-dmabounce.patch +++ b/target/linux/ixp4xx/patches-2.6.23/400-dmabounce.patch @@ -1,8 +1,8 @@ -Index: linux-2.6.23.14/arch/arm/common/dmabounce.c +Index: linux-2.6.23.17/arch/arm/common/dmabounce.c =================================================================== ---- linux-2.6.23.14.orig/arch/arm/common/dmabounce.c 2008-01-24 22:03:28.475500801 +0100 -+++ linux-2.6.23.14/arch/arm/common/dmabounce.c 2008-01-24 22:17:36.415822168 +0100 -@@ -116,6 +116,10 @@ +--- linux-2.6.23.17.orig/arch/arm/common/dmabounce.c ++++ linux-2.6.23.17/arch/arm/common/dmabounce.c +@@ -116,6 +116,10 @@ alloc_safe_buffer(struct dmabounce_devic } else if (size <= device_info->large.size) { pool = &device_info->large; } else { @@ -13,11 +13,11 @@ Index: linux-2.6.23.14/arch/arm/common/dmabounce.c pool = NULL; } -Index: linux-2.6.23.14/arch/arm/mach-ixp4xx/Kconfig +Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig =================================================================== ---- linux-2.6.23.14.orig/arch/arm/mach-ixp4xx/Kconfig 2008-01-24 22:10:29.331484012 +0100 -+++ linux-2.6.23.14/arch/arm/mach-ixp4xx/Kconfig 2008-01-24 22:11:42.891675973 +0100 -@@ -220,6 +220,11 @@ +--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/Kconfig ++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/Kconfig +@@ -220,6 +220,11 @@ config DMABOUNCE default y depends on PCI diff --git a/target/linux/ixp4xx/patches-2.6.23/401-avila_pci_dev.patch b/target/linux/ixp4xx/patches-2.6.23/401-avila_pci_dev.patch index db76d15da4..8971bb2099 100644 --- a/target/linux/ixp4xx/patches-2.6.23/401-avila_pci_dev.patch +++ b/target/linux/ixp4xx/patches-2.6.23/401-avila_pci_dev.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.23.14/include/asm-arm/arch-ixp4xx/avila.h +Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/avila.h =================================================================== ---- linux-2.6.23.14.orig/include/asm-arm/arch-ixp4xx/avila.h 2008-01-31 17:40:36.000000000 +0100 -+++ linux-2.6.23.14/include/asm-arm/arch-ixp4xx/avila.h 2008-01-31 17:40:42.000000000 +0100 +--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/avila.h ++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/avila.h @@ -25,7 +25,7 @@ /* * AVILA PCI IRQs |