svn commit: r196506 - in head/sys: kern sys

Ed Schouten ed at 80386.nl
Mon Aug 24 12:49:10 UTC 2009


Hi Bruce,

* Bruce Evans <brde at optusnet.com.au> wrote:
> CONS_DRIVER() was a good interface, unlike CONSOLE_DRIVER().  Removing it
> completes the bitrot in the support for cn_dbctl, and completes removal
> of cn_checkc's good name at the driver level.
> 
> cn_dbctl is still needed to unbreak sysctl's support for ddb (see db_main.c
> 1.4.2.1, which depends on cn_dbctl's infrastructure not having rotted) and
> can be used to unbreak polled i/o in all console drivers (not just in ddb
> mode -- it should have been named cn_ioctl) (see other mail).
> 
> The higher level cngetc() and cncheckc() are still correctly named, now
> fully inconsistently with the driver level.

Well, there are lots of things broken in the current implementation.
Just take a look at how the cn_term is entirely commented out, only
because syscons can't handle it.

The only thing I tried to do with those changes, is remove dead code.
If someone comes up with patches to properly restore these features, I'd
be more than happy to commit them to SVN.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20090824/834635a8/attachment.pgp


More information about the svn-src-all mailing list