On 10/5/18 6:34 AM, Johan Hovold wrote: >> >> Specifically, are there any platforms: >> >> 1. where simply stuffing values into c_ispeed or c_ospeed and setting BOTHER >> can be used to set the baud rate, even for the "standard" baud rates >> (obviously breaking if the kernel is too old -- how old is that?) > > This should work on all archs that define BOTHER and IBSHIFT (for input > rates), and also to set standard rates (c_cflag would get updated to a > Bfoo value). > > Alan added this (modulo some follow-up fixes) in edc6afc54968 ("[PATCH] > tty: switch to ktermios and new framework"). > Would you happen to know if there are any architectures *other* than Alpha which didn't support this by Linux 3.2 (the current glibc cutoff?) -hpa