r4009 - branches/src/target/kernel/2.6.24.x/patches
werner at sita.openmoko.org
werner at sita.openmoko.org
Fri Feb 1 14:47:16 CET 2008
Author: werner
Date: 2008-02-01 14:47:10 +0100 (Fri, 01 Feb 2008)
New Revision: 4009
Modified:
branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-basis.patch
branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-migrate-vibrator-gta02-only.patch
branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-use-timer3-as-source.patch
branches/src/target/kernel/2.6.24.x/patches/smedia-glamo.patch
Log:
clean-fiq.patch
Change ipc struct type from _fiq_ipc to fiq_ipc
From: Andy Green <andy at openmoko.com>
Signed-off-by: Andy Green <andy at openmoko.com>
smedia-glamo.patch:
- moved complaint about include/asm-arm/arch-s3c2410/irqs.h here
- de-fake-spanified Harald's "Signed-off-by" entry
introduce-fiq-basis.patch:
- removed comments about now resolved issues
- s/struct _fiq_ipc/struct fiq_ipc/
introduce-fiq-use-timer3-as-source.patch:
introduce-fiq-migrate-vibrator-gta02-only.patch
- s/struct _fiq_ipc/struct fiq_ipc/ (context only)
Modified: branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-basis.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-basis.patch 2008-02-01 10:11:24 UTC (rev 4008)
+++ branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-basis.patch 2008-02-01 13:47:10 UTC (rev 4009)
@@ -1,17 +1,3 @@
-[ Two issues to look into later:
-
-- include/asm-arm/arch-s3c2410/irqs.h shouldn't contain device-specific
- changes (this is not a problem introduced by the FIQ patch per se, but
- shows up here as well)
-
-- "struct _fiq_ipc" in include/asm-arm/arch-s3c2410/fiq_ipc_gta02.h
- isn't really just the usual "internal use only" declaration, so it
- should probably be "struct _fiq_ipc". In general, I think we should
- try to keep the number of _xxx or (better) __xxx items low and
- perhaps try to limit them to cases where there's a related xxx.
-
-- Werner ]
-
Adds a C-based FIQ ISR which is very convenient (and unusual --
normally you have to do FIQ ISR in assembler only).
Based on my article:
@@ -396,7 +382,7 @@
+ * the definition in there and include the same definition in your kernel
+ * module that wants to interoperate with your FIQ code.
+ */
-+struct _fiq_ipc fiq_ipc;
++struct fiq_ipc fiq_ipc;
+EXPORT_SYMBOL(fiq_ipc);
+
+/* define FIQ ISR */
@@ -507,12 +493,12 @@
+ * for testing
+ */
+
-+struct _fiq_ipc {
++struct fiq_ipc {
+ u8 u8a[0]; /* placeholder */
+};
+
+/* actual definition lives in arch/arm/mach-s3c2440/fiq_c_isr.c */
-+extern struct _fiq_ipc fiq_ipc;
++extern struct fiq_ipc fiq_ipc;
+
+extern void fiq_kick(void); /* provoke a FIQ "immediately" */
+
Modified: branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-migrate-vibrator-gta02-only.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-migrate-vibrator-gta02-only.patch 2008-02-01 10:11:24 UTC (rev 4008)
+++ branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-migrate-vibrator-gta02-only.patch 2008-02-01 13:47:10 UTC (rev 4009)
@@ -77,7 +77,7 @@
--- linux-2.6.24.orig/arch/arm/mach-s3c2440/mach-gta02.c
+++ linux-2.6.24/arch/arm/mach-s3c2440/mach-gta02.c
@@ -92,12 +92,50 @@
- struct _fiq_ipc fiq_ipc;
+ struct fiq_ipc fiq_ipc;
EXPORT_SYMBOL(fiq_ipc);
+#define DIVISOR_FROM_US(x) ((x) << 1)
@@ -221,7 +221,7 @@
+#include <asm/plat-s3c/regs-timer.h>
+
+
- struct _fiq_ipc {
+ struct fiq_ipc {
- u8 u8a[0]; /* placeholder */
+ /* vibrator */
+ unsigned long vib_gpio_pin; /* which pin to meddle with */
Modified: branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-use-timer3-as-source.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-use-timer3-as-source.patch 2008-02-01 10:11:24 UTC (rev 4008)
+++ branches/src/target/kernel/2.6.24.x/patches/introduce-fiq-use-timer3-as-source.patch 2008-02-01 13:47:10 UTC (rev 4009)
@@ -202,7 +202,7 @@
@@ -22,7 +22,7 @@
/* actual definition lives in arch/arm/mach-s3c2440/fiq_c_isr.c */
- extern struct _fiq_ipc fiq_ipc;
+ extern struct fiq_ipc fiq_ipc;
-
+extern unsigned long _fiq_count_fiqs;
extern void fiq_kick(void); /* provoke a FIQ "immediately" */
Modified: branches/src/target/kernel/2.6.24.x/patches/smedia-glamo.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/smedia-glamo.patch 2008-02-01 10:11:24 UTC (rev 4008)
+++ branches/src/target/kernel/2.6.24.x/patches/smedia-glamo.patch 2008-02-01 13:47:10 UTC (rev 4009)
@@ -1,7 +1,11 @@
+[ FIXME:
+ include/asm-arm/arch-s3c2410/irqs.h shouldn't contain device-specific
+ changes. ]
+
This is a Linux kernel driver for the Smedia Glamo336x / Glamo337x
multi-function peripheral device.
-Signedo-off-by: Harald Welte <laforge at openmoko.org>
+Signed-off-by: Harald Welte <laforge at openmoko.org>
Index: linux-2.6.24/drivers/mfd/Kconfig
===================================================================
More information about the commitlog
mailing list