Changeset eb18d28 in rtems


Ignore:
Timestamp:
Apr 14, 2010, 9:27:31 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
36275c64
Parents:
96bb0f40
Message:

2010-04-10 Ralf Corsépius <ralf.corsepius@…>

  • console/uart.c: Reflect termios API changes.
Location:
c/src/lib/libbsp/arm/edb7312
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/edb7312/ChangeLog

    r96bb0f40 reb18d28  
     12010-04-10      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * console/uart.c: Reflect termios API changes.
     4
    152010-04-09      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
    26
  • c/src/lib/libbsp/arm/edb7312/console/uart.c

    r96bb0f40 reb18d28  
    2727static int     uart_last_close(int major, int minor, void *arg);
    2828static int     uart_read(int minor);
    29 static int     uart_write(int minor, const char *buf, int len);
     29static ssize_t uart_write(int minor, const char *buf, size_t len);
    3030static void    uart_init(int minor);
    3131static void    uart_write_polled(int minor, char c);
     
    108108}
    109109
    110 static int uart_write(int minor, const char *buf, int len)
     110static ssize_t uart_write(int minor, const char *buf, size_t len)
    111111{
    112112    volatile uint32_t   *data_reg;
    113113    volatile uint32_t   *ctrl_reg1;
    114114    volatile uint32_t   *ctrl_reg2;
    115     int i;
     115    size_t i;
    116116    char c;
    117117
     
    130130    }
    131131
    132     return 1;
     132    return len;
    133133}
    134134
Note: See TracChangeset for help on using the changeset viewer.