From 393ee3693cdcb95a1d72babf11073511ed77670b Mon Sep 17 00:00:00 2001 From: dean Date: Tue, 15 Nov 1994 18:59:40 +0000 Subject: [PATCH] Surrounded call to debug routine with #ifdef DEBUG --- sys/arch/pmax/dev/asc.c | 4 +++- sys/dev/tc/asc.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/arch/pmax/dev/asc.c b/sys/arch/pmax/dev/asc.c index cd9e2df69efc..2c9537f42765 100644 --- a/sys/arch/pmax/dev/asc.c +++ b/sys/arch/pmax/dev/asc.c @@ -1,4 +1,4 @@ -/* $NetBSD: asc.c,v 1.6 1994/10/26 21:08:50 cgd Exp $ */ +/* $NetBSD: asc.c,v 1.7 1994/11/15 18:59:40 dean Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -1143,7 +1143,9 @@ asc_get_status(asc, status, ss, ir) */ if ((data = regs->asc_flags & ASC_FLAGS_FIFO_CNT) != 2) { printf("asc_get_status: fifo cnt %d\n", data); /* XXX */ +#ifdef DEBUG asc_DumpLog("get_status"); /* XXX */ +#endif if (data < 2) { asc->regs->asc_cmd = ASC_CMD_MSG_ACPT; readback(asc->regs->asc_cmd); diff --git a/sys/dev/tc/asc.c b/sys/dev/tc/asc.c index cd9e2df69efc..2c9537f42765 100644 --- a/sys/dev/tc/asc.c +++ b/sys/dev/tc/asc.c @@ -1,4 +1,4 @@ -/* $NetBSD: asc.c,v 1.6 1994/10/26 21:08:50 cgd Exp $ */ +/* $NetBSD: asc.c,v 1.7 1994/11/15 18:59:40 dean Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -1143,7 +1143,9 @@ asc_get_status(asc, status, ss, ir) */ if ((data = regs->asc_flags & ASC_FLAGS_FIFO_CNT) != 2) { printf("asc_get_status: fifo cnt %d\n", data); /* XXX */ +#ifdef DEBUG asc_DumpLog("get_status"); /* XXX */ +#endif if (data < 2) { asc->regs->asc_cmd = ASC_CMD_MSG_ACPT; readback(asc->regs->asc_cmd);