Changeset cebad96 in rtems
- Timestamp:
- 04/25/05 14:22:55 (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- dbfafb8f
- Parents:
- a4d8296
- Location:
- c/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/ChangeLog
ra4d8296 rcebad96 1 2005-04-25 Jennifer Averett <jennifer.averett@oarcorp.com> 2 3 * libchip/serial/ns16550.c: 4 Fixed warnings generated in various powerpc configurations 5 1 6 2005-04-18 Jennifer Averett <jennifer.averett@oarcorp.com> 2 7 -
c/src/libchip/serial/ns16550.c
ra4d8296 rcebad96 28 28 #include <libchip/serial.h> 29 29 #include <libchip/sersupp.h> 30 #include <rtems/bspIo.h> 30 31 #include "ns16550_p.h" 31 32 … … 602 603 NS16550_STATIC void ns16550_initialize_interrupts(int minor) 603 604 { 605 #ifdef BSP_SHARED_HANDLER_SUPPORT 604 606 rtems_irq_connect_data IrqData = {0, 605 607 ns16550_isr, … … 610 612 NULL 611 613 }; 614 #else 615 rtems_irq_connect_data IrqData = {0, 616 ns16550_isr, 617 &Console_Port_Data[minor], 618 (rtems_irq_enable)null_fun, 619 (rtems_irq_disable)null_fun, 620 (rtems_irq_is_enabled)null_fun 621 }; 622 #endif 612 623 613 624 ns16550_init(minor); … … 615 626 Console_Port_Data[minor].bActive = FALSE; 616 627 617 IrqData.name = (rtems_irq_symbolic_name)( 618 (unsigned int)BSP_PCI_IRQ0 + Console_Port_Tbl[minor].ulIntVector ); 619 628 IrqData.name = (rtems_irq_symbolic_name)(Console_Port_Tbl[minor].ulIntVector ); 629 630 #ifdef BSP_SHARED_HANDLER_SUPPORT 620 631 if (!BSP_install_rtems_shared_irq_handler (&IrqData)) { 632 #else 633 if (!BSP_install_rtems_irq_handler(&IrqData)) { 634 #endif 621 635 printk("Error installing interrupt handler!\n"); 622 636 rtems_fatal_error_occurred(1);
Note: See TracChangeset
for help on using the changeset viewer.