diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-30 03:18:35 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-30 03:18:35 +0000 |
commit | 8ca0b68e6ade97585dde3f0434f0b0d8e216a05f (patch) | |
tree | acbb1e23fb5d8e8c5bf67460963e6c149fa54e1f /c/src/lib/libbsp/i386/ts_386ex | |
parent | include rtems/termiostypes.h. (diff) | |
download | rtems-8ca0b68e6ade97585dde3f0434f0b0d8e216a05f.tar.bz2 |
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Reflect termios_baud_to_number having been
renamed to rtems_termios_baud_to_number.
Diffstat (limited to 'c/src/lib/libbsp/i386/ts_386ex')
-rw-r--r-- | c/src/lib/libbsp/i386/ts_386ex/ChangeLog | 7 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/ts_386ex/console/console.c | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/i386/ts_386ex/ChangeLog b/c/src/lib/libbsp/i386/ts_386ex/ChangeLog index df3753babf..170b47fb33 100644 --- a/c/src/lib/libbsp/i386/ts_386ex/ChangeLog +++ b/c/src/lib/libbsp/i386/ts_386ex/ChangeLog @@ -1,8 +1,13 @@ +2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org> + + * console/console.c: Reflect termios_baud_to_number having been + renamed to rtems_termios_baud_to_number. + 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org> * configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS. - 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com> +2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com> * startup/setvec.c: Removed. diff --git a/c/src/lib/libbsp/i386/ts_386ex/console/console.c b/c/src/lib/libbsp/i386/ts_386ex/console/console.c index f7ebf944f4..561f8831d1 100644 --- a/c/src/lib/libbsp/i386/ts_386ex/console/console.c +++ b/c/src/lib/libbsp/i386/ts_386ex/console/console.c @@ -43,6 +43,7 @@ #include <termios.h> #include <uart.h> #include <libcpu/cpuModel.h> +#include <rtems/termiostypes.h> /* * Possible value for console input/output : @@ -275,9 +276,9 @@ console_control(rtems_device_major_number major, static int conSetAttr(int minor, const struct termios *t) { - int baud; + rtems_termios_baud_t baud; - baud = termios_baud_to_number(t->c_cflag & CBAUD); + baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD); if ( baud > 115200 ) rtems_fatal_error_occurred (RTEMS_INTERNAL_ERROR); |