Back the last revision off, upon Bill Sommerfeld's request

This commit is contained in:
jdolecek 2001-06-02 00:46:00 +00:00
parent 780e7ac88c
commit f6af05f407
2 changed files with 2 additions and 31 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pccons.c,v 1.146 2001/06/02 00:01:04 jdolecek Exp $ */
/* $NetBSD: pccons.c,v 1.147 2001/06/02 00:46:00 jdolecek Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -1160,21 +1160,6 @@ pccnpollc(dev, on)
#if (NPCCONSKBD > 0)
pckbc_set_poll(kbctag, kbcslot, on);
#else
/*
* Some kbd controllers seem to not clear the interrupt condition
* when the status word is read, which leads to loop calling
* pcintr(). Thus, raise interrupt level when polling.
*/
if (!cold) {
static int s;
if (on)
s = spltty();
else
splx(s);
}
if (!on) {
int unit;
struct pc_softc *sc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pckbc.c,v 1.9 2001/06/02 00:01:04 jdolecek Exp $ */
/* $NetBSD: pckbc.c,v 1.10 2001/06/02 00:46:00 jdolecek Exp $ */
/*
* Copyright (c) 1998
@ -527,20 +527,6 @@ pckbc_set_poll(self, slot, on)
t->t_slotdata[slot]->polling = on;
/*
* Some kbd controllers seem to not clear the interrupt condition
* when the status word is read, which leads to loop calling
* pckbcintr(). Thus, raise interrupt level when polling.
*/
if (!cold) {
static int s;
if (on)
s = spltty();
else
splx(s);
}
if (!on) {
int s;