Changeset cebad96 in rtems


Ignore:
Timestamp:
Apr 25, 2005, 2:22:55 PM (16 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
dbfafb8f
Parents:
a4d8296
Message:

2005-04-25 Jennifer Averett <jennifer.averett@…>

  • libchip/serial/ns16550.c: Fixed warnings generated in various powerpc configurations
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    ra4d8296 rcebad96  
     12005-04-25      Jennifer Averett <jennifer.averett@oarcorp.com>
     2
     3        * libchip/serial/ns16550.c:
     4        Fixed warnings generated in various powerpc configurations
     5
    162005-04-18      Jennifer Averett <jennifer.averett@oarcorp.com>
    27
  • c/src/libchip/serial/ns16550.c

    ra4d8296 rcebad96  
    2828#include <libchip/serial.h>
    2929#include <libchip/sersupp.h>
     30#include <rtems/bspIo.h>
    3031#include "ns16550_p.h"
    3132
     
    602603NS16550_STATIC void ns16550_initialize_interrupts(int minor)
    603604{
     605#ifdef BSP_SHARED_HANDLER_SUPPORT
    604606  rtems_irq_connect_data IrqData = {0,
    605607                                    ns16550_isr,
     
    610612                                    NULL
    611613                                   };
     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
    612623
    613624  ns16550_init(minor);
     
    615626  Console_Port_Data[minor].bActive = FALSE;
    616627
    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
    620631  if (!BSP_install_rtems_shared_irq_handler (&IrqData)) {
     632#else
     633  if (!BSP_install_rtems_irq_handler(&IrqData)) {
     634#endif
    621635    printk("Error installing interrupt handler!\n");
    622636    rtems_fatal_error_occurred(1);
Note: See TracChangeset for help on using the changeset viewer.