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

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

Hi Bruce,

* Bruce Evans <brde at> 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
>, 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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the svn-src-all mailing list