ntdll: Store full line status register in the internal structure, not just the TIOCSER_TEMT bit. Take 2.

Dmitry Timoshkov dmitry at baikal.ru
Fri Aug 30 05:00:21 CDT 2013


Alexandre Julliard <julliard at winehq.org> wrote:

> >> > Printing complete lsr value in the log may help with diagnosing
> >> > test failures on Alexandre's machine.
> >> 
> >> I don't see how, since TIOCSER_TEMT is the only defined bit. Do you
> >> actually have a driver that returns other status?
> >
> > I don't, but maybe yours does. The only way to check that is to store
> > and print the whole LSR value.
> 
> Or you could check the kernel source and see what TIOCSERGETLSR does...

Of course I did check the kernel source, and looked around in various
mailing lists, which made me think that your kernel may set UART_LSR_TEMT
instead...

-- 
Dmitry.



More information about the wine-devel mailing list