svn commit: r243450 - head/sys/dev/sound/pcm

Alexander Motin mav at FreeBSD.org
Fri Nov 23 13:43:52 UTC 2012


Author: mav
Date: Fri Nov 23 13:43:51 2012
New Revision: 243450
URL: http://svnweb.freebsd.org/changeset/base/243450

Log:
  Move sndbuf_setmap() output about buffer addresses from the general verbose
  output to sound verbose output, where all other sndbuf messages live.

Modified:
  head/sys/dev/sound/pcm/buffer.c

Modified: head/sys/dev/sound/pcm/buffer.c
==============================================================================
--- head/sys/dev/sound/pcm/buffer.c	Fri Nov 23 13:36:09 2012	(r243449)
+++ head/sys/dev/sound/pcm/buffer.c	Fri Nov 23 13:43:51 2012	(r243450)
@@ -70,7 +70,7 @@ sndbuf_setmap(void *arg, bus_dma_segment
 {
 	struct snd_dbuf *b = (struct snd_dbuf *)arg;
 
-	if (bootverbose) {
+	if (snd_verbose > 3) {
 		device_printf(b->dev, "sndbuf_setmap %lx, %lx; ",
 		    (u_long)segs[0].ds_addr, (u_long)segs[0].ds_len);
 		printf("%p -> %lx\n", b->buf, (u_long)segs[0].ds_addr);


More information about the svn-src-all mailing list