Changeset 47927b0 in rtems


Ignore:
Timestamp:
Nov 3, 2008, 9:03:06 PM (12 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.8
Children:
3568f50
Parents:
c592a7f
Message:

2008-11-03 Till Straumann <strauman@…>

PR 1332: call BSP_uart_termios_set()/BSP_uart_intr_ctrl()
only from 'firstOpen' and only if this is a serial console.

Location:
c/src/lib/libbsp/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ChangeLog

    rc592a7f r47927b0  
     12008-11-03      Till Straumann <strauman@slac.stanford.edu>
     2
     3        PR 1332: call BSP_uart_termios_set()/BSP_uart_intr_ctrl()
     4        only from 'firstOpen' and only if this is a serial console.
     5
    162008-03-04      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/lib/libbsp/powerpc/shared/console/console.c

    rc592a7f r47927b0  
    154154                  rtems_fatal_error_occurred(status);
    155155                }
     156          /*
     157           * Pass data area info down to driver
     158           */
     159          BSP_uart_termios_set(minor,
     160           ((rtems_libio_open_close_args_t *)arg)->iop->data1);
     161
     162          /* Enable interrupts  on channel */
     163          BSP_uart_intr_ctrl(minor, BSP_UART_INTR_CTRL_TERMIOS);
     164
    156165          return 0;
    157166}
     
    205214    }
    206215
    207   /*
    208    * Pass data area info down to driver
    209    */
    210   BSP_uart_termios_set(minor,
    211                          ((rtems_libio_open_close_args_t *)arg)->iop->data1);
    212   /* Enable interrupts  on channel */
    213   BSP_uart_intr_ctrl(minor, BSP_UART_INTR_CTRL_TERMIOS);
    214 
    215216  return RTEMS_SUCCESSFUL;
    216217}
Note: See TracChangeset for help on using the changeset viewer.