> > > >         /*
> > > >          * XXX: it is difficult to handle the line control 
> > > > appropriately:
> > > > -        *   - CS8, !CSTOPB and any parity mode seems ok, but
> > > > -        *   - the chip doesn't have the function to calculate parity
> > > > -        *     in !CS8 mode.
> > > > -        *   - it is unclear that the chip supports CS5,6 mode.
> > > > -        *   - it is unclear how to handle stop bits.
> > > > +        *   work as chip default - CS8, no parity, !CSTOPB
> > > > +        *   other modes are not supported.
> > > >          */

Given that 8N1 is supported, can we not support other modes entirely in 
software?
7E1, and 7O1 don't need explicit hardware support.

If you need 7N1, 7M1 will simulate 7N2, which the majority of hardware will work
with, (an extra stop bit).

If 8N1 works, and there is confusion over support for other modes, just bit bang
in 8N1 mode.

-- 
Creamy! <3

Reply via email to