Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] au1x00 serial real interrupt
@ 2006-05-22 16:52 Rodolfo Giometti
  2006-09-05 15:19 ` Sergei Shtylyov
  0 siblings, 1 reply; 7+ messages in thread
From: Rodolfo Giometti @ 2006-05-22 16:52 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

Hello.

Here my patch to enable real interrupts management for the au1x00
CPUs.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti@enneenne.com
Linux Device Driver                             giometti@gnudd.com
Embedded Systems                     		giometti@linux.it
UNIX programming                     phone:     +39 349 2432127

[-- Attachment #2: patch-au1x00-serial-real-interrupt --]
[-- Type: text/plain, Size: 461 bytes --]

diff --git a/include/asm-mips/serial.h b/include/asm-mips/serial.h
index 7b23664..0197062 100644
--- a/include/asm-mips/serial.h
+++ b/include/asm-mips/serial.h
@@ -11,6 +11,14 @@
 
 #include <linux/config.h>
 
+#ifdef CONFIG_SOC_AU1X00
+/*
+ * We have to redefine "is_real_interrupt()" for Au1x00 CPUs...
+ */
+#undef is_real_interrupt
+#define is_real_interrupt(irq)	((irq) != ~0)
+#endif
+
 /*
  * This assumes you have a 1.8432 MHz clock for your UART.
  *

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-09-18 20:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-22 16:52 [PATCH] au1x00 serial real interrupt Rodolfo Giometti
2006-09-05 15:19 ` Sergei Shtylyov
2006-09-09 16:34   ` Sergei Shtylyov
2006-09-09 16:39     ` Russell King
2006-09-09 16:58       ` Sergei Shtylyov
2006-09-14 18:10       ` Ralf Baechle
2006-09-18 20:13     ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox