Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci __USE a debugging var
details: https://anonhg.NetBSD.org/src/rev/d6b7200f78d2
branches: trunk
changeset: 790573:d6b7200f78d2
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 17 21:05:41 2013 +0000
description:
__USE a debugging var
diffstat:
sys/dev/pci/yds.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r af746484e75d -r d6b7200f78d2 sys/dev/pci/yds.c
--- a/sys/dev/pci/yds.c Thu Oct 17 21:04:44 2013 +0000
+++ b/sys/dev/pci/yds.c Thu Oct 17 21:05:41 2013 +0000
@@ -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 @@
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)) {
Home |
Main Index |
Thread Index |
Old Index