tech-toolchain archive

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

Re: config(5) break down

On Sat, Mar 20, 2010 at 2:42 PM, Masao Uebayashi <> 
> audio(4) and tty(4) are very different from my view; audio(4) has the
> single entry and drivers implement backend.  tty(4) is a common
> interface through which kernel accesses serial devices (correct me if
> wrong).
> I'm very curious which architecture looks better to you, because I
> have a vague idea to make tty(4) to something like audio(4).

I've found that FreeBSD's tty(4) is already done so; serial drivers
implement backend interfaces.  System calls always go through tty(4)'s
cdevsw.  In NetBSD serial drivers have their own cdevsw...


Home | Main Index | Thread Index | Old Index