diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-09-26 12:57:35 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-09-26 12:57:35 +0400 |
commit | dfbd95d35daf34da9be778483aced82e973154f0 (patch) | |
tree | 4396358af95d6f02adcaddcf411d7bac22f3cec9 /winsup | |
parent | d2e4a942826b8d3f2257d56d811d6e546751168f (diff) |
* termios.cc (setspeed): Support new baud rates introduced 2007-02-05.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/termios.cc | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 85e3942dc..b30e4680b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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> * ntdll.h (STATUS_OBJECT_NAME_INVALID): Define. diff --git a/winsup/cygwin/termios.cc b/winsup/cygwin/termios.cc index 985056815..b99f32240 100644 --- a/winsup/cygwin/termios.cc +++ b/winsup/cygwin/termios.cc @@ -274,6 +274,16 @@ setspeed (speed_t &set_speed, speed_t from_speed) case B128000: case B230400: 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; res = 0; break; |