forked from Imagelibrary/rtems
2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/serial/ns16550.c: Add CVS-Id. Fix #define mess.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libchip/serial/ns16550.c: Add CVS-Id. Fix #define mess.
|
||||
|
||||
2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libchip/network/i82586.c, libchip/network/smc91111config.h: Eliminate
|
||||
|
||||
@@ -20,6 +20,10 @@
|
||||
* This driver uses the termios pseudo driver.
|
||||
*/
|
||||
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <rtems.h>
|
||||
@@ -443,6 +447,7 @@ NS16550_STATIC int ns16550_set_attributes(
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(BSP_FEATURE_IRQ_EXTENSION)
|
||||
/*
|
||||
* ns16550_process
|
||||
*
|
||||
@@ -516,6 +521,7 @@ NS16550_STATIC void ns16550_process( int minor)
|
||||
*
|
||||
* This routine initializes the port to have the specified interrupts masked.
|
||||
*/
|
||||
#endif
|
||||
|
||||
NS16550_STATIC void ns16550_enable_interrupts(
|
||||
int minor,
|
||||
@@ -554,7 +560,9 @@ NS16550_STATIC void ns16550_enable_interrupts(
|
||||
*/
|
||||
NS16550_STATIC void ns16550_initialize_interrupts( int minor)
|
||||
{
|
||||
#if defined(BSP_FEATURE_IRQ_EXTENSION) || defined(BSP_FEATURE_IRQ_LEGACY)
|
||||
console_tbl *c = &Console_Port_Tbl [minor];
|
||||
#endif
|
||||
console_data *d = &Console_Port_Data [minor];
|
||||
|
||||
ns16550_init( minor);
|
||||
@@ -577,7 +585,7 @@ NS16550_STATIC void ns16550_initialize_interrupts( int minor)
|
||||
rtems_fatal_error_occurred( 0xdeadbeef);
|
||||
}
|
||||
}
|
||||
#elif defined BSP_FEATURE_IRQ_LEGACY
|
||||
#elif defined(BSP_FEATURE_IRQ_LEGACY)
|
||||
{
|
||||
int rv = 0;
|
||||
#ifdef BSP_FEATURE_IRQ_LEGACY_SHARED_HANDLER_SUPPORT
|
||||
|
||||
Reference in New Issue
Block a user