Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/gsc Commit a hack workaround for PR 41448.



details:   https://anonhg.NetBSD.org/src/rev/5caae447bde8
branches:  trunk
changeset: 761651:5caae447bde8
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Feb 04 07:44:53 2011 +0000

description:
Commit a hack workaround for PR 41448.

Not sure if this has any negative effects, but I'd rather have a system
that reboots than has working audio.

diffstat:

 sys/arch/hp700/gsc/harmony.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r eda9cc90f95b -r 5caae447bde8 sys/arch/hp700/gsc/harmony.c
--- a/sys/arch/hp700/gsc/harmony.c      Fri Feb 04 07:32:37 2011 +0000
+++ b/sys/arch/hp700/gsc/harmony.c      Fri Feb 04 07:44:53 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: harmony.c,v 1.19 2011/02/01 18:33:24 skrll Exp $       */
+/*     $NetBSD: harmony.c,v 1.20 2011/02/04 07:44:53 skrll Exp $       */
 
 /*     $OpenBSD: harmony.c,v 1.23 2004/02/13 21:28:19 mickey Exp $     */
 
@@ -679,12 +679,14 @@
        bus_space_write_4(sc->sc_bt, sc->sc_bh, HARMONY_CNTL,
            sc->sc_cntlbits | CNTL_C);
 
+#if 0
        for (;;) {
                /* Wait for it to come out of control mode */
                reg = READ_REG(sc, HARMONY_CNTL);
                if ((reg & CNTL_C) == 0)
                        break;
        }
+#endif
 
        sc->sc_need_commit = 0;
 



Home | Main Index | Thread Index | Old Index