diff options
author | cg <cg@FreeBSD.org> | 2000-01-13 06:00:57 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2000-01-13 06:00:57 +0000 |
commit | 6ccc3d677e52014c0e454c978e58900559feaf21 (patch) | |
tree | d3d989dfd334999a379f745418da7ed8e5aeda86 | |
parent | 5f66665af16df2cae0f147df0466eeebfbc658c2 (diff) | |
download | FreeBSD-src-6ccc3d677e52014c0e454c978e58900559feaf21.zip FreeBSD-src-6ccc3d677e52014c0e454c978e58900559feaf21.tar.gz |
be less verbose
-rw-r--r-- | sys/dev/sound/pci/neomagic.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/sound/pci/neomagic.c b/sys/dev/sound/pci/neomagic.c index cdc0a6c..8cdc5de 100644 --- a/sys/dev/sound/pci/neomagic.c +++ b/sys/dev/sound/pci/neomagic.c @@ -341,7 +341,9 @@ nmchan_init(void *devinfo, snd_dbuf *b, pcm_channel *c, int dir) ch->buffer = b; ch->buffer->bufsize = NM_BUFFSIZE; ch->buffer->buf = (u_int8_t *)(rman_get_bushandle(sc->buf) + chnbuf); - device_printf(sc->dev, "%s buf %p\n", (dir == PCMDIR_PLAY)? "play" : "rec", ch->buffer->buf); + if (bootverbose) + device_printf(sc->dev, "%s buf %p\n", (dir == PCMDIR_PLAY)? + "play" : "rec", ch->buffer->buf); ch->parent = sc; ch->channel = c; ch->dir = dir; @@ -558,8 +560,8 @@ nm_pci_probe(device_t dev) i++; if (i == NUM_BADCARDS) s = "NeoMagic 256AV"; - else - device_printf(dev, "this is a non-ac97 NM256AV, not attaching\n"); + DEB(else) + DEB(device_printf(dev, "this is a non-ac97 NM256AV, not attaching\n")); break; case NM256ZX_PCI_ID: |