Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe Backout some "new stuff" that accidentally...



details:   https://anonhg.NetBSD.org/src/rev/7c18377ba80b
branches:  trunk
changeset: 534786:7c18377ba80b
user:      oster <oster%NetBSD.org@localhost>
date:      Sat Aug 03 00:38:42 2002 +0000

description:
Backout some "new stuff" that accidentally got included on the last commit.

diffstat:

 sys/dev/raidframe/rf_driver.c |  19 ++-----------------
 1 files changed, 2 insertions(+), 17 deletions(-)

diffs (40 lines):

diff -r 0818d787014c -r 7c18377ba80b sys/dev/raidframe/rf_driver.c
--- a/sys/dev/raidframe/rf_driver.c     Sat Aug 03 00:12:48 2002 +0000
+++ b/sys/dev/raidframe/rf_driver.c     Sat Aug 03 00:38:42 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_driver.c,v 1.50 2002/08/02 03:42:34 oster Exp $     */
+/*     $NetBSD: rf_driver.c,v 1.51 2002/08/03 00:38:42 oster Exp $     */
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -73,7 +73,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.50 2002/08/02 03:42:34 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.51 2002/08/03 00:38:42 oster Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -491,21 +491,6 @@
 
        raidPtr->valid = 1;
 
-       printf("raid%d: %s\n", raidPtr->raidid,
-              raidPtr->Layout.map->configName);
-       printf("raid%d: Components: ", raidPtr->raidid);
-       for (row = 0; row < raidPtr->numRow; row++) {
-               for (col = 0; col < raidPtr->numCol; col++) {
-                       printf("%s ", raidPtr->Disks[row][col].devname);
-               }
-       }
-       printf("\n");
-       printf("raid%d: Total Sectors: %lu (%lu MB)\n",
-              raidPtr->raidid,
-              (unsigned long) raidPtr->totalSectors,
-              (unsigned long) (raidPtr->totalSectors / 1024 * 
-                               (1 << raidPtr->logBytesPerSector) / 1024));
-
        return (0);
 }
 



Home | Main Index | Thread Index | Old Index