summaryrefslogtreecommitdiff
path: root/sys/dev/ic/pckbc.c
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2015-03-16 01:49:12 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2015-03-16 01:49:12 +0000
commit089f181a69a12bb9dd14212038dbb691bee5e361 (patch)
treea9b83f19740093a5c11f2e75e929495af58fe850 /sys/dev/ic/pckbc.c
parentc0645d53f846af6cc995368ee24e7a9cff0dd28d (diff)
Revert 1.44 since we have found some machines where the keyboard
stops working after our aux port resets, which were not broken before. ok deraadt
Diffstat (limited to 'sys/dev/ic/pckbc.c')
-rw-r--r--sys/dev/ic/pckbc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/ic/pckbc.c b/sys/dev/ic/pckbc.c
index 5b927bd82e9..ba16623fda0 100644
--- a/sys/dev/ic/pckbc.c
+++ b/sys/dev/ic/pckbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pckbc.c,v 1.45 2015/03/14 03:38:47 jsg Exp $ */
+/* $OpenBSD: pckbc.c,v 1.46 2015/03/16 01:49:11 jcs Exp $ */
/* $NetBSD: pckbc.c,v 1.5 2000/06/09 04:58:35 soda Exp $ */
/*
@@ -277,12 +277,6 @@ pckbc_attach_slot(struct pckbc_softc *sc, pckbc_slot_t slot, int force)
if (t->t_slotdata[slot] == NULL)
return 0;
pckbc_init_slotdata(t->t_slotdata[slot]);
- } else if (!found && slot == PCKBC_AUX_SLOT) {
- u_char cmd[1] = { PMS_RESET };
-
- (void) pckbc_poll_cmd(t, PCKBC_AUX_SLOT, cmd, sizeof cmd,
- 0, NULL, 1);
- pckbc_slot_enable(t, PCKBC_AUX_SLOT, 0);
}
return (found);
}