Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k/obio Turn off some noise during autoconfig o...



details:   https://anonhg.NetBSD.org/src/rev/2b0fa10c08e9
branches:  trunk
changeset: 482868:2b0fa10c08e9
user:      scottr <scottr%NetBSD.org@localhost>
date:      Thu Feb 24 05:02:33 2000 +0000

description:
Turn off some noise during autoconfig on the IIfx/Q9x0, making it
conditional on the TRACE_CONFIG debugging flag.

diffstat:

 sys/arch/mac68k/obio/iwm_fd.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 0e387f953f54 -r 2b0fa10c08e9 sys/arch/mac68k/obio/iwm_fd.c
--- a/sys/arch/mac68k/obio/iwm_fd.c     Thu Feb 24 04:39:41 2000 +0000
+++ b/sys/arch/mac68k/obio/iwm_fd.c     Thu Feb 24 05:02:33 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iwm_fd.c,v 1.6 2000/02/07 20:16:52 thorpej Exp $       */
+/*     $NetBSD: iwm_fd.c,v 1.7 2000/02/24 05:02:33 scottr Exp $        */
 
 /*
  * Copyright (c) 1997, 1998 Hauke Fath.  All rights reserved.
@@ -286,7 +286,8 @@
                 * We know next to nothing about the SWIM.
                 */
                matched = 0;
-               printf("IWM or SWIM not found: Unknown location (SWIM II?).\n");
+               if (TRACE_CONFIG)
+                       printf("IWM or SWIM not found: Unknown location (SWIM II?).\n");
        } else {
                matched = 1;
                if (TRACE_CONFIG) {
@@ -399,7 +400,8 @@
                 * Neither IIfx/Q9[05]0 style IOP controllers nor 
                 * Q[68]40AV DMA based controllers are supported. 
                 */
-               printf("Unknown floppy controller chip.\n");
+               if (TRACE_CONFIG)
+                       printf("Unknown floppy controller chip.\n");
                IWMBase = 0L;
                known = 0;
                break;



Home | Main Index | Thread Index | Old Index