Title: [3933] trunk/drivers/serial/8250.c:
Added support for 8250-class UARTs in HV Sistemas H8606 board,
modification in 8250.c driver for correct compilation with Blackfin
- Revision
- 3933
- Author
- ea1crb
- Date
- 2007-11-25 16:08:02 -0600 (Sun, 25 Nov 2007)
Log Message
Added support for 8250-class UARTs in HV Sistemas H8606 board, modification in 8250.c driver for correct compilation with Blackfin
Diffstat
8250.c | 6 ++++++
1 files changed, 6 insertions(+)
Modified Paths
Diff
Modified: trunk/drivers/serial/8250.c (3932 => 3933)
--- trunk/drivers/serial/8250.c 2007-11-25 22:05:33 UTC (rev 3932)
+++ trunk/drivers/serial/8250.c 2007-11-25 22:08:02 UTC (rev 3933)
@@ -92,7 +92,9 @@
*/
#define CONFIG_HUB6 1
+#ifndef CONFIG_BLACKFIN
#include <asm/serial.h>
+#endif
/*
* SERIAL_PORT_DFNS tells us about built-in ports that have no
@@ -1544,6 +1546,10 @@
i->head = &up->list;
spin_unlock_irq(&i->lock);
+#ifdef CONFIG_BLACKFIN
+ irq_flags |= IRQF_TRIGGER_HIGH;
+#endif
+
ret = request_irq(up->port.irq, serial8250_interrupt,
irq_flags, "serial", i);
if (ret < 0)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits