]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Char: mxser, use THRE for ASPP_OQUEUE ioctl
authorJiri Slaby <jirislaby@gmail.com>
Thu, 10 Sep 2009 10:20:08 +0000 (12:20 +0200)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:38 +0000 (13:13 -0700)
commit720909571605f3bafc1440c2a36165c1b151b2ff
treef8af24a2c721da8efb3290315555e49c8e50429b
parente4709c9aa7ca0dfbbeeb7f4cf5a325e9bda30e5a
tty: Char: mxser, use THRE for ASPP_OQUEUE ioctl

In moxa specific ASPP_OQUEUE ioctl command, they apparently want
only know whether there is space in transmitter hold register.

So switch UART_LSR_TEMT to UART_LSR_THRE in that specific case
according to the change in 1.14 moxa drivers.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/mxser.c