Module Name:    src
Committed By:   christos
Date:           Thu Oct 17 21:05:41 UTC 2013

Modified Files:
        src/sys/dev/pci: yds.c

Log Message:
__USE a debugging var


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/pci/yds.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/yds.c
diff -u src/sys/dev/pci/yds.c:1.53 src/sys/dev/pci/yds.c:1.54
--- src/sys/dev/pci/yds.c:1.53	Mon Jan 30 14:41:23 2012
+++ src/sys/dev/pci/yds.c	Thu Oct 17 17:05:41 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: yds.c,v 1.53 2012/01/30 19:41:23 drochner Exp $	*/
+/*	$NetBSD: yds.c,v 1.54 2013/10/17 21:05:41 christos Exp $	*/
 
 /*
  * Copyright (c) 2000, 2001 Kazuki Sakamoto and Minoura Makoto.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: yds.c,v 1.53 2012/01/30 19:41:23 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: yds.c,v 1.54 2013/10/17 21:05:41 christos Exp $");
 
 #include "mpu.h"
 
@@ -421,6 +421,9 @@ yds_allocate_slots(struct yds_softc *sc)
 	DPRINTF(("play control size : %d\n", (unsigned int)pcs));
 	DPRINTF(("rec control size : %d\n", (unsigned int)rcs));
 	DPRINTF(("eff control size : %d\n", (unsigned int)ecs));
+#ifndef AUDIO_DEBUG
+	__USE(ecs);
+#endif
 	DPRINTF(("work size : %d\n", (unsigned int)ws));
 #ifdef DIAGNOSTIC
 	if (pcs != sizeof(struct play_slot_ctrl_bank)) {

Reply via email to