2008-09-22 Joel Sherrill <joel.sherrill@OARcorp.com>

* libchip/serial/ns16550.c: Not currently supported on architectures
	with simple vectored interrupt model.
This commit is contained in:
Joel Sherrill
2008-09-22 15:42:54 +00:00
parent f1f60c22d0
commit fc9cbcf341
2 changed files with 14 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2008-09-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/serial/ns16550.c: Not currently supported on architectures
with simple vectored interrupt model.
2008-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/version.m4: Bump RTEMS_API to 4.10.

View File

@@ -30,10 +30,13 @@
#include <libchip/serial.h>
#include <libchip/sersupp.h>
#include <bsp/irq.h>
#include "ns16550_p.h"
#if !defined(CPU_SIMPLE_VECTORED_INTERRUPTS)
#include <bsp/irq.h>
#define NS16650_SUPPORTED
#endif
#ifdef BSP_FEATURE_IRQ_EXTENSION
/* Nothing to do */
#elif defined BSP_FEATURE_IRQ_LEGACY
@@ -44,9 +47,11 @@
#define BSP_FEATURE_IRQ_LEGACY_SHARED_HANDLER_SUPPORT
#endif
#else
#warning No interrupt support available
#undef NS16650_SUPPORTED
#endif
#if defined(NS16550_SUPPORTED)
/*
* Flow control is only supported when using interrupts
*/
@@ -719,3 +724,4 @@ NS16550_STATIC int ns16550_inbyte_nonblocking_polled(
return -1;
}
}
#endif /* defined(NS16550_SUPPORTED) */