Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Remove the tape stats from here, they caused issues...



details:   https://anonhg.NetBSD.org/src/rev/783acf58621d
branches:  trunk
changeset: 583578:783acf58621d
user:      blymn <blymn%NetBSD.org@localhost>
date:      Sat Aug 13 10:48:27 2005 +0000

description:
Remove the tape stats from here, they caused issues on non-scsipi
architectures.

diffstat:

 sys/kern/init_sysctl.c |  19 ++-----------------
 1 files changed, 2 insertions(+), 17 deletions(-)

diffs (47 lines):

diff -r aad8eb47981f -r 783acf58621d sys/kern/init_sysctl.c
--- a/sys/kern/init_sysctl.c    Sat Aug 13 09:49:58 2005 +0000
+++ b/sys/kern/init_sysctl.c    Sat Aug 13 10:48:27 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init_sysctl.c,v 1.50 2005/08/08 12:12:30 blymn Exp $ */
+/*     $NetBSD: init_sysctl.c,v 1.51 2005/08/13 10:48:27 blymn Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysctl.c,v 1.50 2005/08/08 12:12:30 blymn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysctl.c,v 1.51 2005/08/13 10:48:27 blymn Exp $");
 
 #include "opt_sysv.h"
 #include "opt_multiprocessor.h"
@@ -45,7 +45,6 @@
 #include "opt_verified_exec.h"
 #include "pty.h"
 #include "rnd.h"
-#include "st.h"
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -892,20 +891,6 @@
                       SYSCTL_DESCR("Statistics on disk operation"),
                       sysctl_hw_diskstats, 0, NULL, 0,
                       CTL_HW, HW_DISKSTATS, CTL_EOL);
-#if NST > 0
-       sysctl_createv(clog, 0, NULL, NULL,
-                      CTLFLAG_PERMANENT,
-                      CTLTYPE_STRING, "tapenames",
-                      SYSCTL_DESCR("List of tape devices present"),
-                      sysctl_hw_tapenames, 0, NULL, 0,
-                      CTL_HW, HW_TAPENAMES, CTL_EOL);
-       sysctl_createv(clog, 0, NULL, NULL,
-                      CTLFLAG_PERMANENT,
-                      CTLTYPE_STRUCT, "tapestats",
-                      SYSCTL_DESCR("Statistics on tape drive operation"),
-                      sysctl_hw_tapestats, 0, NULL, 0,
-                      CTL_HW, HW_TAPESTATS, CTL_EOL);
-#endif /* NST > 0 */
        sysctl_createv(clog, 0, NULL, NULL,
                       CTLFLAG_PERMANENT,
                       CTLTYPE_STRING, "machine_arch",



Home | Main Index | Thread Index | Old Index