Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe RAIDframe doesn't need to be so chatty on ...



details:   https://anonhg.NetBSD.org/src/rev/4dd107dc4aa8
branches:  trunk
changeset: 534387:4dd107dc4aa8
user:      oster <oster%NetBSD.org@localhost>
date:      Wed Jul 24 02:55:22 2002 +0000

description:
RAIDframe doesn't need to be so chatty on autoconfigure.  Leave it
a chatty if DEBUG is set... (for now..)

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 682c1c5dc567 -r 4dd107dc4aa8 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Wed Jul 24 02:50:47 2002 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Wed Jul 24 02:55:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.126 2002/07/21 15:32:18 hannken Exp $     */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.127 2002/07/24 02:55:22 oster Exp $       */
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -114,7 +114,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.126 2002/07/21 15:32:18 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.127 2002/07/24 02:55:22 oster Exp $");
 
 #include <sys/param.h>
 #include <sys/errno.h>
@@ -3268,7 +3268,9 @@
        int raidID;
        int retcode;
 
+#if DEBUG
        printf("RAID autoconfigure\n");
+#endif
 
        retcode = 0;
        *unit = -1;
@@ -3321,7 +3323,11 @@
                printf("(Out of RAID devs!)\n");
                return(1);
        }
+
+#if DEBUG
        printf("Configuring raid%d:\n",raidID);
+#endif
+
        raidPtr = raidPtrs[raidID];
 
        /* XXX all this stuff should be done SOMEWHERE ELSE! */



Home | Main Index | Thread Index | Old Index