diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-10-09 09:11:14 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-10-09 09:11:14 +0000 |
commit | bee242872ee7106f4af3c9775cce357ab6ae2095 (patch) | |
tree | ca83a67e77cf85b0347d80817bc8f6d7907099ee /sys | |
parent | bcd4823f87530d3274c3d026c0f489cd65154296 (diff) |
only print out of sync messages when compiled for debugging
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/cmpci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/cmpci.c b/sys/dev/pci/cmpci.c index 40bcb0e04e3..06f619ef60c 100644 --- a/sys/dev/pci/cmpci.c +++ b/sys/dev/pci/cmpci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmpci.c,v 1.29 2010/10/08 14:01:07 jakemsr Exp $ */ +/* $OpenBSD: cmpci.c,v 1.30 2010/10/09 09:11:13 jakemsr Exp $ */ /* $NetBSD: cmpci.c,v 1.25 2004/10/26 06:32:20 xtraeme Exp $ */ /* @@ -592,8 +592,8 @@ cmpci_intr(void *handle) if (chan->swpos >= chan->nblocks) chan->swpos = 0; if (chan->swpos != hwpos) { - printf("%s: DMA0 hwpos=%d swpos=%d\n", - __func__, hwpos, chan->swpos); + DPRINTF(("%s: DMA0 hwpos=%d swpos=%d\n", + __func__, hwpos, chan->swpos)); } } } @@ -611,8 +611,8 @@ cmpci_intr(void *handle) if (chan->swpos >= chan->nblocks) chan->swpos = 0; if (chan->swpos != hwpos) { - printf("%s: DMA1 hwpos=%d swpos=%d\n", - __func__, hwpos, chan->swpos); + DPRINTF(("%s: DMA1 hwpos=%d swpos=%d\n", + __func__, hwpos, chan->swpos)); } } } |