forked from Imagelibrary/rtems
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/serial/ns16550.c: Turn on ns16550_process() for BSP_FEATURE_IRQ_LEGACY case also.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* libchip/serial/ns16550.c: Turn on ns16550_process() for
|
||||||
|
BSP_FEATURE_IRQ_LEGACY case also.
|
||||||
|
|
||||||
2008-11-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
2008-11-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
* libchip/i2c/spi-sd-card.h, libchip/i2c/spi-sd-card.c: Removed high
|
* libchip/i2c/spi-sd-card.h, libchip/i2c/spi-sd-card.c: Removed high
|
||||||
|
|||||||
@@ -447,14 +447,14 @@ NS16550_STATIC int ns16550_set_attributes(
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(BSP_FEATURE_IRQ_EXTENSION)
|
#if defined(BSP_FEATURE_IRQ_EXTENSION) || defined(BSP_FEATURE_IRQ_LEGACY)
|
||||||
/*
|
/*
|
||||||
* ns16550_process
|
* ns16550_process
|
||||||
*
|
*
|
||||||
* This routine is the console interrupt handler for A port.
|
* This routine is the console interrupt handler for A port.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
NS16550_STATIC void ns16550_process( int minor)
|
NS16550_STATIC void ns16550_process(int minor)
|
||||||
{
|
{
|
||||||
console_tbl *c = &Console_Port_Tbl [minor];
|
console_tbl *c = &Console_Port_Tbl [minor];
|
||||||
console_data *d = &Console_Port_Data [minor];
|
console_data *d = &Console_Port_Data [minor];
|
||||||
@@ -538,14 +538,14 @@ NS16550_STATIC void ns16550_enable_interrupts(
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef BSP_FEATURE_IRQ_EXTENSION
|
#ifdef BSP_FEATURE_IRQ_EXTENSION
|
||||||
NS16550_STATIC void ns16550_isr( rtems_vector_number vector, void *arg)
|
NS16550_STATIC void ns16550_isr(rtems_vector_number vector, void *arg)
|
||||||
{
|
{
|
||||||
int minor = (int) arg;
|
int minor = (int) arg;
|
||||||
|
|
||||||
ns16550_process( minor);
|
ns16550_process( minor);
|
||||||
}
|
}
|
||||||
#elif defined BSP_FEATURE_IRQ_LEGACY
|
#elif defined BSP_FEATURE_IRQ_LEGACY
|
||||||
NS16550_STATIC rtems_isr ns16550_isr( void *arg)
|
NS16550_STATIC rtems_isr ns16550_isr(void *arg)
|
||||||
{
|
{
|
||||||
int minor = (int) arg;
|
int minor = (int) arg;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user