From ada1acad8d6abee1bcd003795b7089ec01bca8bc Mon Sep 17 00:00:00 2001 From: graichen Date: Sat, 1 Feb 1997 23:46:02 +0000 Subject: [PATCH] put an harmless waring behind an DIAGNOSTIC --- sys/dev/tc/asc.c | 2 ++ 1 file changed, 2 insertions(+) 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", -- 2.20.1