Subject: Re: dev/isa/pckbcvar.h in current
To: D'Arcy J.M. Cain <>
From: None <>
List: current-users
Date: 02/05/1999 12:11:46 said:
> In file included from machine/pccons.h:22,
>                  from ../../../../arch/i386/isa/pccons.c:115: ../../../
> ../dev/isa/pckbcvar.h:63: syntax error before `pckbc_slot_t' cc1:
> warnings being treated as errors ../../../../dev/isa/pckbcvar.h:63:
> warning: function declaration isn't a prototype *** Error code 1 

You probably got an inconsistency into your config file.
There are two ways to use pccons - normally you just have
pc0	at isa0 port 0x60 irq 1		# generic PC console device
in your config file, and perhaps a
opms0	at pc? irq 12		# PS/2 auxiliary port mouse
but no special "pckbc" keyboard controller driver.
A more exotic way (if one wants to use the new pckbc driver
or perhaps a wheel mouse without completely switching to wscons)
is to have
pc0 at isa?
in conjunction with
pckbc0	at isa0
pcconskbd*	at pckbc?
and perhaps
opms*		at pckbc?
pms*		at pckbc?
pmsi*		at pckbc?
wsmouse*        at      pms?
wsmouse*        at      pmsi?

You obviously have a mix of both, "pc0" and "pckbc",
but not "pcconskbd".
I'll look into this whether the error can be caught in
an obvious way - but it must fail because a plain
pccons and pckbc would access the same hardware and
mess it up horribly.

best regards