diff --git a/c/src/libchip/serial/ns16550.c b/c/src/libchip/serial/ns16550.c
index 5ea50bd..069a4cd 100644
a
|
b
|
NS16550_STATIC int ns16550_close( |
203 | 203 | void * arg |
204 | 204 | ) |
205 | 205 | { |
206 | | console_tbl *c = &Console_Port_Tbl [minor]; |
| 206 | console_tbl *c = Console_Port_Tbl [minor]; |
207 | 207 | |
208 | 208 | /* |
209 | 209 | * Negate DTR |
… |
… |
NS16550_STATIC void ns16550_enable_interrupts( |
601 | 601 | NS16550_STATIC void ns16550_initialize_interrupts( int minor) |
602 | 602 | { |
603 | 603 | #if defined(BSP_FEATURE_IRQ_EXTENSION) || defined(BSP_FEATURE_IRQ_LEGACY) |
604 | | console_tbl *c = &Console_Port_Tbl [minor]; |
| 604 | console_tbl *c = Console_Port_Tbl [minor]; |
605 | 605 | #endif |
606 | 606 | console_data *d = &Console_Port_Data [minor]; |
607 | 607 | |
… |
… |
NS16550_STATIC void ns16550_cleanup_interrupts(int minor) |
661 | 661 | { |
662 | 662 | #if defined(BSP_FEATURE_IRQ_EXTENSION) |
663 | 663 | rtems_status_code sc = RTEMS_SUCCESSFUL; |
664 | | console_tbl *c = &Console_Port_Tbl [minor]; |
| 664 | console_tbl *c = Console_Port_Tbl [minor]; |
665 | 665 | sc = rtems_interrupt_handler_remove( |
666 | 666 | c->ulIntVector, |
667 | 667 | ns16550_isr, |
… |
… |
NS16550_STATIC void ns16550_cleanup_interrupts(int minor) |
674 | 674 | } |
675 | 675 | #elif defined(BSP_FEATURE_IRQ_LEGACY) |
676 | 676 | int rv = 0; |
677 | | console_tbl *c = &Console_Port_Tbl [minor]; |
| 677 | console_tbl *c = Console_Port_Tbl [minor]; |
678 | 678 | rtems_irq_connect_data cd = { |
679 | 679 | .name = c->ulIntVector, |
680 | 680 | .hdl = ns16550_isr, |