bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: term & user space console


From: Roland McGrath
Subject: Re: term & user space console
Date: Sat, 2 Feb 2002 19:53:12 -0500 (EST)

> On Sat, Feb 02, 2002 at 07:42:23PM -0500, Roland McGrath wrote:
> > > Just two issues: What about CSTOP and/or CSIZE, do I handle it the way it
> > > is done for Mach devices?
> > 
> > I don't understand the question.  These are serial hardware settings that
> > should be passed down directly just like the speed.
> 
> I am referring to this code in devio_set_bits:
> 
>       /* Mach forces us to use the normal stop bit convention:
>          two bits at 110 bps; 1 bit otherwise. */

Ah, that stuff is just coping with the crappiness of the Mach device code.
You can just pass down the CSTOPB/CSIZE bits directly to the underlying tty.

> So far I got it, I am just worried about stuff like the above, where I don't
> know if it is something idiosyncratic to Mach devices, or generic.

You can consider anything in devio.c likely to be idiosyncratic to Mach
devices (and not just the supposed interfaces, but the broken drivers we
have at that).  But I don't see any other code of that nature beside that
one spot you cited.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]