From 79aeb20cc3f03fc65a40880f9d23e6a9abcba5de Mon Sep 17 00:00:00 2001 From: skrll Date: Fri, 4 Feb 2011 07:44:53 +0000 Subject: [PATCH] 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. --- sys/arch/hp700/gsc/harmony.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/hp700/gsc/harmony.c b/sys/arch/hp700/gsc/harmony.c index 16830be66905..838102110c4f 100644 --- a/sys/arch/hp700/gsc/harmony.c +++ b/sys/arch/hp700/gsc/harmony.c @@ -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 @@ harmony_commit_settings(void *vsc) 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;