Move sndbuf_setmap() output about buffer addresses from the general verbose

output to sound verbose output, where all other sndbuf messages live.
This commit is contained in:
Alexander Motin 2012-11-23 13:43:51 +00:00
parent b91dc77506
commit 4754395cac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243450

View File

@ -70,7 +70,7 @@ sndbuf_setmap(void *arg, bus_dma_segment_t *segs, int nseg, int error)
{
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);