explicitely initialize console keyboard

This commit is contained in:
drochner 1998-04-15 21:06:46 +00:00
parent c5ea534f57
commit 534775fe76
5 changed files with 25 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_2100_a50.c,v 1.37 1998/02/13 00:12:45 thorpej Exp $ */
/* $NetBSD: dec_2100_a50.c,v 1.38 1998/04/15 21:06:46 drochner Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: dec_2100_a50.c,v 1.37 1998/02/13 00:12:45 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: dec_2100_a50.c,v 1.38 1998/04/15 21:06:46 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -48,6 +48,7 @@ __KERNEL_RCSID(0, "$NetBSD: dec_2100_a50.c,v 1.37 1998/02/13 00:12:45 thorpej Ex
#include <dev/ic/comvar.h>
#include <dev/isa/isavar.h>
#include <dev/isa/pckbcvar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
@ -135,6 +136,8 @@ dec_2100_a50_cons_init()
case 3:
/* display console ... */
/* XXX */
(void) pckbc_cnattach(&acp->ac_iot, PCKBC_KBD_SLOT);
if ((ctb->ctb_turboslot & 0xffff) == 0)
isa_display_console(&acp->ac_iot, &acp->ac_memt);
else

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_axppci_33.c,v 1.35 1998/02/13 00:12:47 thorpej Exp $ */
/* $NetBSD: dec_axppci_33.c,v 1.36 1998/04/15 21:06:46 drochner Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: dec_axppci_33.c,v 1.35 1998/02/13 00:12:47 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: dec_axppci_33.c,v 1.36 1998/04/15 21:06:46 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -48,6 +48,7 @@ __KERNEL_RCSID(0, "$NetBSD: dec_axppci_33.c,v 1.35 1998/02/13 00:12:47 thorpej E
#include <dev/ic/comvar.h>
#include <dev/isa/isavar.h>
#include <dev/isa/pckbcvar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
@ -126,6 +127,8 @@ dec_axppci_33_cons_init()
case 3:
/* display console ... */
/* XXX */
(void) pckbc_cnattach(&lcp->lc_iot, PCKBC_KBD_SLOT);
if ((ctb->ctb_turboslot & 0xffff) == 0)
isa_display_console(&lcp->lc_iot, &lcp->lc_memt);
else

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_eb164.c,v 1.24 1998/02/13 00:12:48 thorpej Exp $ */
/* $NetBSD: dec_eb164.c,v 1.25 1998/04/15 21:06:46 drochner Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: dec_eb164.c,v 1.24 1998/02/13 00:12:48 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: dec_eb164.c,v 1.25 1998/04/15 21:06:46 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -49,6 +49,7 @@ __KERNEL_RCSID(0, "$NetBSD: dec_eb164.c,v 1.24 1998/02/13 00:12:48 thorpej Exp $
#include <dev/ic/comvar.h>
#include <dev/isa/isavar.h>
#include <dev/isa/pckbcvar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
@ -119,6 +120,8 @@ dec_eb164_cons_init()
case 3:
/* display console ... */
/* XXX */
(void) pckbc_cnattach(&ccp->cc_iot, PCKBC_KBD_SLOT);
if ((ctb->ctb_turboslot & 0xffff) == 0)
isa_display_console(&ccp->cc_iot, &ccp->cc_memt);
else

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_eb64plus.c,v 1.12 1998/02/13 00:12:48 thorpej Exp $ */
/* $NetBSD: dec_eb64plus.c,v 1.13 1998/04/15 21:06:47 drochner Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: dec_eb64plus.c,v 1.12 1998/02/13 00:12:48 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: dec_eb64plus.c,v 1.13 1998/04/15 21:06:47 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -49,6 +49,7 @@ __KERNEL_RCSID(0, "$NetBSD: dec_eb64plus.c,v 1.12 1998/02/13 00:12:48 thorpej Ex
#include <dev/ic/comvar.h>
#include <dev/isa/isavar.h>
#include <dev/isa/pckbcvar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
@ -127,6 +128,8 @@ dec_eb64plus_cons_init()
case 3:
/* display console ... */
/* XXX */
(void) pckbc_cnattach(&acp->ac_iot, PCKBC_KBD_SLOT);
if ((ctb->ctb_turboslot & 0xffff) == 0)
isa_display_console(&acp->ac_iot, &acp->ac_memt);
else

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_kn20aa.c,v 1.36 1998/02/13 00:12:49 thorpej Exp $ */
/* $NetBSD: dec_kn20aa.c,v 1.37 1998/04/15 21:06:47 drochner Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: dec_kn20aa.c,v 1.36 1998/02/13 00:12:49 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: dec_kn20aa.c,v 1.37 1998/04/15 21:06:47 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -49,6 +49,7 @@ __KERNEL_RCSID(0, "$NetBSD: dec_kn20aa.c,v 1.36 1998/02/13 00:12:49 thorpej Exp
#include <dev/ic/comvar.h>
#include <dev/isa/isavar.h>
#include <dev/isa/pckbcvar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
@ -127,6 +128,8 @@ dec_kn20aa_cons_init()
case 3:
/* display console ... */
/* XXX */
(void) pckbc_cnattach(&ccp->cc_iot, PCKBC_KBD_SLOT);
if ((ctb->ctb_turboslot & 0xffff) == 0)
isa_display_console(&ccp->cc_iot, &ccp->cc_memt);
else