put an harmless waring behind an DIAGNOSTIC
authorgraichen <graichen@openbsd.org>
Sat, 1 Feb 1997 23:46:02 +0000 (23:46 +0000)
committergraichen <graichen@openbsd.org>
Sat, 1 Feb 1997 23:46:02 +0000 (23:46 +0000)
sys/dev/tc/asc.c

index cafd9b8..714a41e 100644 (file)
@@ -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",