Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcsh/dev fix matrix switch initial value.
details: https://anonhg.NetBSD.org/src/rev/2e70f1554ff0
branches: trunk
changeset: 504446:2e70f1554ff0
user: uch <uch%NetBSD.org@localhost>
date: Fri Mar 02 19:21:53 2001 +0000
description:
fix matrix switch initial value.
diffstat:
sys/arch/hpcsh/dev/pfckbd.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 324032502709 -r 2e70f1554ff0 sys/arch/hpcsh/dev/pfckbd.c
--- a/sys/arch/hpcsh/dev/pfckbd.c Fri Mar 02 19:19:34 2001 +0000
+++ b/sys/arch/hpcsh/dev/pfckbd.c Fri Mar 02 19:21:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pfckbd.c,v 1.1 2001/02/24 19:58:00 uch Exp $ */
+/* $NetBSD: pfckbd.c,v 1.2 2001/03/02 19:21:53 uch Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -162,7 +162,7 @@
pc->pc_if.hii_establish = pfckbd_input_establish;
pc->pc_if.hii_poll = pfckbd_poll;
for (i = 0; i < 8; i++)
- pc->pc_column[i] = 0xffdf;
+ pc->pc_column[i] = 0xdfff;
}
static void
@@ -194,6 +194,7 @@
SHREG_PEDR = scan[column].e;
delay(50);
data = SHREG_PFDR | (SHREG_PCDR << 8);
+
if ((edge = (data ^ buf[column]))) {
buf[column] = data;
Home |
Main Index |
Thread Index |
Old Index