* termios.cc (setspeed): Support new baud rates introduced 2007-02-05.

This commit is contained in:
Corinna Vinschen 2007-09-26 08:57:35 +00:00
parent d2e4a94282
commit dfbd95d35d
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-09-26 Corinna Vinschen <corinna@vinschen.de>
* termios.cc (setspeed): Support new baud rates introduced 2007-02-05.
2007-09-20 Corinna Vinschen <corinna@vinschen.de> 2007-09-20 Corinna Vinschen <corinna@vinschen.de>
* ntdll.h (STATUS_OBJECT_NAME_INVALID): Define. * ntdll.h (STATUS_OBJECT_NAME_INVALID): Define.

View File

@ -274,6 +274,16 @@ setspeed (speed_t &set_speed, speed_t from_speed)
case B128000: case B128000:
case B230400: case B230400:
case B256000: case B256000:
case B460800:
case B500000:
case B576000:
case B921600:
case B1000000:
case B1152000:
case B1500000:
case B2000000:
case B2500000:
case B3000000:
set_speed = from_speed; set_speed = from_speed;
res = 0; res = 0;
break; break;