Subject: Re: CPU_CONSDEV not available on all ports
To: Eduardo Horvath <eeh@turbolinux.com>
From: Simon Burge <simonb@netbsd.org>
List: tech-kern
Date: 07/10/2000 00:18:45
Eduardo Horvath wrote:
> On Sun, 9 Jul 2000, Simon Burge wrote:
>
> > Not all ports have a CPU_CONSDEV sysctl available, and this hinders at
> > least some logic in w(1). Anyone mind if I add support for this sysctl
> > to the remaining architectures?
>
> What exactly is CPU_CONSDEV supposed to provide? I'm not certain it is
> possible to implement on all achitectures.
Basically it's cn_tab->cn_dev, and I *think* every port pulls in
dev/cons.c.
In fact, it would probably be worth moving to the kern. namespace
if everything will have it...
Simon.