Changeset fadb4a7 in rtems for c


Ignore:
Timestamp:
Nov 3, 2008, 9:08:49 PM (12 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.9
Children:
353014ad
Parents:
160e8fb
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

    r160e8fb rfadb4a7  
     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-11-03      Till Straumann <strauman@slac.stanford.edu>
    27
  • c/src/lib/libbsp/powerpc/shared/console/console.c

    r160e8fb rfadb4a7  
    168168    rtems_fatal_error_occurred(status);
    169169  }
     170
     171  /*
     172   * Pass data area info down to driver
     173   */
     174  BSP_uart_termios_set(minor, ((rtems_libio_open_close_args_t *)arg)->iop->data1);
     175
     176  /* Enable interrupts  on channel */
     177  BSP_uart_intr_ctrl(minor, BSP_UART_INTR_CTRL_TERMIOS);
     178
    170179  return 0;
    171180}
     
    223232  }
    224233
    225   /*
    226    * Pass data area info down to driver
    227    */
    228   BSP_uart_termios_set(minor,
    229        ((rtems_libio_open_close_args_t *)arg)->iop->data1);
    230   /* Enable interrupts  on channel */
    231   BSP_uart_intr_ctrl(minor, BSP_UART_INTR_CTRL_TERMIOS);
    232 
    233234  return RTEMS_SUCCESSFUL;
    234235}
Note: See TracChangeset for help on using the changeset viewer.