Re: [PATCH 3/3] tty: support CIBAUD without BOTHER

2018-07-16 Thread Alan Cox
> Ugh, I thought glibc got support for it, I guess everyone just > hand-codes it in their applications for now. Sad. The glibc people actively contributed to its design and then went radio silent on the subject. Alan

Re: [PATCH 3/3] tty: support CIBAUD without BOTHER

2018-07-16 Thread Greg Kroah-Hartman
On Mon, Jul 16, 2018 at 12:18:24PM +0200, Johan Hovold wrote: > On Mon, Jul 16, 2018 at 12:00:28PM +0200, Greg Kroah-Hartman wrote: > > On Sun, Jul 15, 2018 at 03:39:35PM +0200, Johan Hovold wrote: > > > Since commit edc6afc54968 ("[PATCH] tty: switch to ktermios and new > > > framework") arbitrary

Re: [PATCH 3/3] tty: support CIBAUD without BOTHER

2018-07-16 Thread Johan Hovold
On Mon, Jul 16, 2018 at 12:00:28PM +0200, Greg Kroah-Hartman wrote: > On Sun, Jul 15, 2018 at 03:39:35PM +0200, Johan Hovold wrote: > > Since commit edc6afc54968 ("[PATCH] tty: switch to ktermios and new > > framework") arbitrary baud rates can be requested using BOTHER and input > > rates can be r

Re: [PATCH 3/3] tty: support CIBAUD without BOTHER

2018-07-16 Thread Greg Kroah-Hartman
On Sun, Jul 15, 2018 at 03:39:35PM +0200, Johan Hovold wrote: > Since commit edc6afc54968 ("[PATCH] tty: switch to ktermios and new > framework") arbitrary baud rates can be requested using BOTHER and input > rates can be requested using the termios CIBAUD bits (CBAUD shifted > IBSHIFT bits). > >

[PATCH 3/3] tty: support CIBAUD without BOTHER

2018-07-15 Thread Johan Hovold
Since commit edc6afc54968 ("[PATCH] tty: switch to ktermios and new framework") arbitrary baud rates can be requested using BOTHER and input rates can be requested using the termios CIBAUD bits (CBAUD shifted IBSHIFT bits). This functionality has been conditionally compiled depending on whether an