diff options
| author | oster <oster@NetBSD.org> | 2002-07-24 02:55:22 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2002-07-24 02:55:22 +0000 |
| commit | de6f092d9d8034e5b4aa1e6bddcb3c80c8c8e7b9 (patch) | |
| tree | 0dfc21388edc1f99aa177ea3178d5b426e21cf3a /sys/dev/raidframe | |
| parent | f4811c84e8c9c793b8e5a8b2f23bfa0cae111124 (diff) | |
RAIDframe doesn't need to be so chatty on autoconfigure. Leave it
a chatty if DEBUG is set... (for now..)
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_netbsdkintf.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index 8a01fbb9c6c..5dee3455fdb 100644 --- a/sys/dev/raidframe/rf_netbsdkintf.c +++ b/sys/dev/raidframe/rf_netbsdkintf.c @@ -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 @@ rf_auto_config_set(cset,unit) int raidID; int retcode; +#if DEBUG printf("RAID autoconfigure\n"); +#endif retcode = 0; *unit = -1; @@ -3321,7 +3323,11 @@ rf_auto_config_set(cset,unit) 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! */ |
