summaryrefslogtreecommitdiffstats
path: root/sys/dev/tc
diff options
context:
space:
mode:
authorgraichen <graichen@openbsd.org>1997-02-01 23:46:02 +0000
committergraichen <graichen@openbsd.org>1997-02-01 23:46:02 +0000
commitada1acad8d6abee1bcd003795b7089ec01bca8bc (patch)
treecc32ab75fd160cb9de31dfd1c00822dacb9ca8af /sys/dev/tc
parentnicer output at bootup (before it was somewhat garbled) (diff)
downloadwireguard-openbsd-ada1acad8d6abee1bcd003795b7089ec01bca8bc.tar.xz
wireguard-openbsd-ada1acad8d6abee1bcd003795b7089ec01bca8bc.zip
put an harmless waring behind an DIAGNOSTIC
Diffstat (limited to 'sys/dev/tc')
-rw-r--r--sys/dev/tc/asc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/tc/asc.c b/sys/dev/tc/asc.c
index cafd9b84422..714a41e4f39 100644
--- a/sys/dev/tc/asc.c
+++ b/sys/dev/tc/asc.c
@@ -985,8 +985,10 @@ again:
/* flush any data in the FIFO */
if (fifo) {
if (state->flags & DMA_OUT) {
+#ifdef DIAGNOSTIC /* XXX - don't exacly know it this should be ifdefed */
printf("asc: DMA_OUT, fifo resid %d, len %d, flags 0x%x\n",
fifo, len, state->flags);
+#endif
len += fifo;
} else if (state->flags & DMA_IN) {
printf("asc_intr: IN: dmalen %d len %d fifo %d\n",