Changeset b9ff276c in rtems


Ignore:
Timestamp:
Aug 16, 2001, 8:52:05 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c0af4e47
Parents:
f7691e3
Message:

2001-08-16 Mike Siers <mikes@…>

  • comm/tty_drv.c, comm/uart.c: Correct some minor cut and paste bugs.
Location:
c/src/lib/libbsp/i386/shared
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/shared/ChangeLog

    rf7691e3 rb9ff276c  
     1
     2        * comm/tty_drv.c, comm/uart.c: Correct some minor cut and paste bugs.
     3
     42001-07-03      Mike Seirs <mike@poliac.com>
    15
    26        * comm/tty_drv.c, comm/uart.c, comm/uart.h:  Adds the capability
  • c/src/lib/libbsp/i386/shared/comm/tty_drv.c

    rf7691e3 rb9ff276c  
    1919 *
    2020 * $Log$
     21 * Revision 1.4  2001/07/03 17:56:32  joel
     22 * 2001-07-03   Mike Seirs <mike@poliac.com>
     23 *
     24 *      * comm/tty_drv.c, comm/uart.c, comm/uart.h:  Adds the capability
     25 *      to use task driven serial I/O to ti386 BSPs. This patch leaves thex
     26 *      default I/O mode to be IRQ.  If you want to use task I/O mode,
     27 *      then the tty_drv.c file needs to be modified.  Basically, all
     28 *      you need to change is the data values of the termios callbacks
     29 *      structure.  This callback structure is used in the tty1_open
     30 *      and tty2_open functions.  The values you need to set are commented
     31 *      out in the source code.
     32 *
    2133 * Revision 1.3  2000/12/05 16:37:38  joel
    2234 * 2000-12-01   Joel Sherrill <joel@OARcorp.com>
     
    199211  {
    200212    NULL,                        /* firstOpen */
    201     tty1_last_close,             /* lastClose */
     213    NULL,                        /* lastClose */
    202214    BSP_uart_termios_read_com1,  /* poll read */
    203215    BSP_uart_termios_write_com1, /* write */
     
    489501  {
    490502    NULL,                        /* firstOpen */
    491     tty2_last_close,             /* lastClose */
     503    NULL,                        /* lastClose */
    492504    BSP_uart_termios_read_com2,  /* poll read */
    493505    BSP_uart_termios_write_com2, /* write */
  • c/src/lib/libbsp/i386/shared/comm/uart.c

    rf7691e3 rb9ff276c  
    544544
    545545  /* read current byte */
    546   while (( off < sizeof(buf) ) && ( uread(BSP_UART_COM1, LSR) & DR )) {
    547     buf[off++] = uread(BSP_UART_COM1, RBR);
     546  while (( off < sizeof(buf) ) && ( uread(BSP_UART_COM2, LSR) & DR )) {
     547    buf[off++] = uread(BSP_UART_COM2, RBR);
    548548  }
    549549
Note: See TracChangeset for help on using the changeset viewer.