Subject: Re: CVS commit: src/sys/arch/sparc
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Ben Harris <bjh21@NetBSD.org>
List: tech-kern
Date: 02/10/2004 10:49:19
On Tue, 10 Feb 2004, Valeriy E. Ushakov wrote:

> > > > __HAVE_NWSCONS seems to mean, "If this port uses pckbc(4), it also uses
> > > > sys/dev/pckbc/files.pckbc."  This is true of sparc...
> > >
> > > This is not true.  __HAVE_NWSCONS means that only pckbd(4) ever
> > > attaches to pckbc(4).  Which is NOT true of sparc!
> >
> > That can't be correct, since i386 defines __HAVE_NWSCONS, and it attaches
> > pms(4) and pcconskbd(4) at pckbd(4).
>
> Having reread pckbc.c I can see where I misinterpreted the logic of
> the ifdefs.  Sorry.

Oh good.

> (btw, pms(4) is really immaterial in this
> context, as it's not a console input device).

I thought it might be, which is why I picked a port with pcconskbd(4).

-- 
Ben Harris                                                   <bjh21@NetBSD.org>
Portmaster, NetBSD/acorn26           <URL:http://www.NetBSD.org/Ports/acorn26/>