From bfe9cb213093fdc0010df66484f5298803ccb57c Mon Sep 17 00:00:00 2001 From: apb Date: Thu, 17 Sep 2009 18:48:47 +0000 Subject: [PATCH] Change a few hda_error to hda_debug. Fixes "WARNING: 4 errors while detecting hardware; check system log." when I boot. OK jmcneill. --- sys/dev/pci/hdaudio/hdaudio_afg.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/dev/pci/hdaudio/hdaudio_afg.c b/sys/dev/pci/hdaudio/hdaudio_afg.c index e9ef082597df..3b955bf2c534 100644 --- a/sys/dev/pci/hdaudio/hdaudio_afg.c +++ b/sys/dev/pci/hdaudio/hdaudio_afg.c @@ -1,4 +1,4 @@ -/* $NetBSD: hdaudio_afg.c,v 1.10 2009/09/09 11:47:24 drochner Exp $ */ +/* $NetBSD: hdaudio_afg.c,v 1.11 2009/09/17 18:48:47 apb Exp $ */ /* * Copyright (c) 2009 Precedence Technologies Ltd @@ -60,7 +60,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: hdaudio_afg.c,v 1.10 2009/09/09 11:47:24 drochner Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hdaudio_afg.c,v 1.11 2009/09/17 18:48:47 apb Exp $"); #include #include @@ -396,7 +396,7 @@ hdaudio_afg_widget_lookup(struct hdaudio_afg_softc *sc, int nid) return NULL; } if (nid < sc->sc_startnode || nid >= sc->sc_endnode) { - hda_error(sc, "nid %02X out of range (%02X-%02X)\n", + hda_debug(sc, "nid %02X out of range (%02X-%02X)\n", nid, sc->sc_startnode, sc->sc_endnode); return NULL; } @@ -471,7 +471,7 @@ hdaudio_afg_widget_connection_parse(struct hdaudio_widget *w) } } if (cnid < sc->sc_startnode || cnid >= sc->sc_endnode) - hda_error(sc, "ghost nid=%02X\n", cnid); + hda_debug(sc, "ghost nid=%02X\n", cnid); if (CONN_RANGE(res, entnum, j) == 0) addcnid = cnid; else if (prevcnid == 0 || prevcnid >= cnid) { @@ -1543,18 +1543,18 @@ retry: goto retry; } if (!res) { - hda_error(sc, "disable assoc %d (%d) [trace failed]\n", + hda_debug(sc, "disable assoc %d (%d) [trace failed]\n", j, as[j].as_index); for (i = 0; i < HDAUDIO_MAXPINS; i++) { if (as[j].as_pins[i] == 0) continue; - hda_error(sc, " assoc %d pin%d: %02X\n", j, i, + hda_debug(sc, " assoc %d pin%d: %02X\n", j, i, as[j].as_pins[i]); } for (i = 0; i < HDAUDIO_MAXPINS; i++) { if (as[j].as_dacs[i] == 0) continue; - hda_error(sc, " assoc %d dac%d: %02X\n", j, i, + hda_debug(sc, " assoc %d dac%d: %02X\n", j, i, as[j].as_dacs[i]); }