forked from Imagelibrary/rtems
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, console/serial_mouse.c: Reflect termios_baud_to_number having been renamed to rtems_termios_baud_to_number.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* console/console.c, console/serial_mouse.c: Reflect
|
||||||
|
termios_baud_to_number having been renamed to
|
||||||
|
rtems_termios_baud_to_number.
|
||||||
|
|
||||||
2009-09-15 Till Straumann <strauman@slac.stanford.edu>
|
2009-09-15 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
PR 1344/bsps:
|
PR 1344/bsps:
|
||||||
|
|||||||
@@ -461,7 +461,7 @@ conSetAttr(int minor, const struct termios *t)
|
|||||||
{
|
{
|
||||||
unsigned long baud, databits, parity, stopbits;
|
unsigned long baud, databits, parity, stopbits;
|
||||||
|
|
||||||
baud = termios_baud_to_number(t->c_cflag & CBAUD);
|
baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
|
||||||
if ( baud > 115200 )
|
if ( baud > 115200 )
|
||||||
rtems_fatal_error_occurred (RTEMS_INTERNAL_ERROR);
|
rtems_fatal_error_occurred (RTEMS_INTERNAL_ERROR);
|
||||||
|
|
||||||
|
|||||||
@@ -264,7 +264,7 @@ conSetAttr(int port, int minor, const struct termios *t)
|
|||||||
{
|
{
|
||||||
unsigned long baud, databits, parity, stopbits;
|
unsigned long baud, databits, parity, stopbits;
|
||||||
|
|
||||||
baud = termios_baud_to_number(t->c_cflag & CBAUD);
|
baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
|
||||||
if ( baud > 115200 )
|
if ( baud > 115200 )
|
||||||
rtems_fatal_error_occurred (RTEMS_INTERNAL_ERROR);
|
rtems_fatal_error_occurred (RTEMS_INTERNAL_ERROR);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user