diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-05-19 10:58:03 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-05-19 10:58:03 +0000 |
commit | 7758bda7d0615a0fe185b527cb3f4f04a27eb82c (patch) | |
tree | 163c4e19a20aa9425d88f18c5fde2cf30e70dc09 /target/linux/ixp4xx/patches-2.6.24/017-nas100d_auto_power_on.patch | |
parent | 51e45450f185c839ecab7062facbecc7cff9953c (diff) | |
download | mtk-20170518-7758bda7d0615a0fe185b527cb3f4f04a27eb82c.zip mtk-20170518-7758bda7d0615a0fe185b527cb3f4f04a27eb82c.tar.gz mtk-20170518-7758bda7d0615a0fe185b527cb3f4f04a27eb82c.tar.bz2 |
refresh kernel patches
SVN-Revision: 11204
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.24/017-nas100d_auto_power_on.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.24/017-nas100d_auto_power_on.patch | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.24/017-nas100d_auto_power_on.patch b/target/linux/ixp4xx/patches-2.6.24/017-nas100d_auto_power_on.patch index 1be3bb7..3c66cb4 100644 --- a/target/linux/ixp4xx/patches-2.6.24/017-nas100d_auto_power_on.patch +++ b/target/linux/ixp4xx/patches-2.6.24/017-nas100d_auto_power_on.patch @@ -18,10 +18,10 @@ Acked-by: Lennert Buytenhek <buytenh@wantstofly.org> PATCH FOLLOWS KernelVersion: 2.6.24-git5 -diff --git a/arch/arm/mach-ixp4xx/nas100d-power.c b/arch/arm/mach-ixp4xx/nas100d-power.c -index 29aa98d..4c1c01b 100644 ---- a/arch/arm/mach-ixp4xx/nas100d-power.c -+++ b/arch/arm/mach-ixp4xx/nas100d-power.c +Index: linux-2.6.24.7/arch/arm/mach-ixp4xx/nas100d-power.c +=================================================================== +--- linux-2.6.24.7.orig/arch/arm/mach-ixp4xx/nas100d-power.c ++++ linux-2.6.24.7/arch/arm/mach-ixp4xx/nas100d-power.c @@ -21,15 +21,59 @@ #include <linux/irq.h> #include <linux/module.h> @@ -86,7 +86,7 @@ index 29aa98d..4c1c01b 100644 return IRQ_HANDLED; } -@@ -39,17 +83,30 @@ static int __init nas100d_power_init(void) +@@ -39,17 +83,30 @@ static int __init nas100d_power_init(voi if (!(machine_is_nas100d())) return 0; @@ -120,7 +120,7 @@ index 29aa98d..4c1c01b 100644 return 0; } -@@ -58,7 +115,9 @@ static void __exit nas100d_power_exit(void) +@@ -58,7 +115,9 @@ static void __exit nas100d_power_exit(vo if (!(machine_is_nas100d())) return; @@ -131,11 +131,11 @@ index 29aa98d..4c1c01b 100644 } module_init(nas100d_power_init); -diff --git a/arch/arm/mach-ixp4xx/nas100d-setup.c b/arch/arm/mach-ixp4xx/nas100d-setup.c -index 54d884f..213a4ce 100644 ---- a/arch/arm/mach-ixp4xx/nas100d-setup.c -+++ b/arch/arm/mach-ixp4xx/nas100d-setup.c -@@ -43,20 +43,20 @@ static struct platform_device nas100d_flash = { +Index: linux-2.6.24.7/arch/arm/mach-ixp4xx/nas100d-setup.c +=================================================================== +--- linux-2.6.24.7.orig/arch/arm/mach-ixp4xx/nas100d-setup.c ++++ linux-2.6.24.7/arch/arm/mach-ixp4xx/nas100d-setup.c +@@ -43,20 +43,20 @@ static struct platform_device nas100d_fl static struct resource nas100d_led_resources[] = { { .name = "wlan", /* green led */ @@ -163,10 +163,10 @@ index 54d884f..213a4ce 100644 .flags = IXP4XX_GPIO_LOW, }, }; -diff --git a/include/asm-arm/arch-ixp4xx/nas100d.h b/include/asm-arm/arch-ixp4xx/nas100d.h -index 131e0a1..98d9378 100644 ---- a/include/asm-arm/arch-ixp4xx/nas100d.h -+++ b/include/asm-arm/arch-ixp4xx/nas100d.h +Index: linux-2.6.24.7/include/asm-arm/arch-ixp4xx/nas100d.h +=================================================================== +--- linux-2.6.24.7.orig/include/asm-arm/arch-ixp4xx/nas100d.h ++++ linux-2.6.24.7/include/asm-arm/arch-ixp4xx/nas100d.h @@ -38,15 +38,15 @@ /* Buttons */ @@ -192,6 +192,3 @@ index 131e0a1..98d9378 100644 +#define NAS100D_LED_WLAN_GPIO 0 +#define NAS100D_LED_DISK_GPIO 3 +#define NAS100D_LED_PWR_GPIO 15 --- -1.5.2.5 - |