diff options
Diffstat (limited to 'sys/arch/hppa/gsc/harmony.c')
-rw-r--r-- | sys/arch/hppa/gsc/harmony.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/hppa/gsc/harmony.c b/sys/arch/hppa/gsc/harmony.c index d2d96d4a33b..d86752d7473 100644 --- a/sys/arch/hppa/gsc/harmony.c +++ b/sys/arch/hppa/gsc/harmony.c @@ -1,4 +1,4 @@ -/* $OpenBSD: harmony.c,v 1.10 2003/01/28 05:12:47 jason Exp $ */ +/* $OpenBSD: harmony.c,v 1.11 2003/01/29 00:52:23 mickey Exp $ */ /* * Copyright (c) 2003 Jason L. Wright (jason@thought.net) @@ -150,6 +150,7 @@ harmony_attach(parent, self, aux) { struct harmony_softc *sc = (struct harmony_softc *)self; struct gsc_attach_args *ga = aux; + u_int32_t cntl; int i; sc->sc_bt = ga->ga_iot; @@ -225,7 +226,9 @@ harmony_attach(parent, self, aux) /* reset chip, and push default gain controls */ harmony_reset_codec(sc); - printf("\n"); + cntl = READ_REG(sc, HARMONY_CNTL); + printf(": rev %d\n", + (cntl & CNTL_CODEC_REV_MASK) >> CNTL_CODEC_REV_SHIFT); audio_attach_mi(&harmony_sa_hw_if, sc, &sc->sc_dv); } |