Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sandpoint/sandpoint A temporaly fix to avoid a lock...



details:   https://anonhg.NetBSD.org/src/rev/091706ceaf8c
branches:  trunk
changeset: 779268:091706ceaf8c
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Tue May 15 02:14:13 2012 +0000

description:
A temporaly fix to avoid a lockup by KBT4 DISP button.  Not sure
the real fix.  Curse on the every poorly written engineering
documents on Earth.

diffstat:

 sys/arch/sandpoint/sandpoint/satmgr.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 08eece46cb87 -r 091706ceaf8c sys/arch/sandpoint/sandpoint/satmgr.c
--- a/sys/arch/sandpoint/sandpoint/satmgr.c     Tue May 15 01:22:50 2012 +0000
+++ b/sys/arch/sandpoint/sandpoint/satmgr.c     Tue May 15 02:14:13 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: satmgr.c,v 1.22 2012/05/11 21:40:49 nisimura Exp $ */
+/* $NetBSD: satmgr.c,v 1.23 2012/05/15 02:14:13 nisimura Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -1033,7 +1033,7 @@
        /* notified after 3 seconds guard time */
        struct satmgr_softc *sc = arg;
 
-       send_sat(sc, "\x80\x36"); /* query button state */
+       send_sat(sc, "\x80\x36\x4a"); /* query button state with parity */
        mutex_enter(&sc->sc_replk);
        sc->sc_btn_cnt = 0;
        mutex_exit(&sc->sc_replk);



Home | Main Index | Thread Index | Old Index