Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe Add a few comments, and an indicator of wh...



details:   https://anonhg.NetBSD.org/src/rev/1a25acd51356
branches:  trunk
changeset: 482790:1a25acd51356
user:      oster <oster%NetBSD.org@localhost>
date:      Tue Feb 22 03:39:47 2000 +0000

description:
Add a few comments, and an indicator of whether or not an autoconfig set
is 'rootable'.

diffstat:

 sys/dev/raidframe/rf_netbsd.h |  18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diffs (35 lines):

diff -r 1799aa7578aa -r 1a25acd51356 sys/dev/raidframe/rf_netbsd.h
--- a/sys/dev/raidframe/rf_netbsd.h     Tue Feb 22 03:38:42 2000 +0000
+++ b/sys/dev/raidframe/rf_netbsd.h     Tue Feb 22 03:39:47 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsd.h,v 1.7 2000/02/13 04:53:57 oster Exp $      */
+/*     $NetBSD: rf_netbsd.h,v 1.8 2000/02/22 03:39:47 oster Exp $      */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -125,16 +125,18 @@
 
 /* XXX probably belongs in a different .h file. */
 typedef struct RF_AutoConfig_s {
-       char devname[56]; 
-       dev_t dev;
-       struct vnode *vp;
-       RF_ComponentLabel_t *clabel;
-       struct RF_AutoConfig_s *next;
-       /*      LIST_ENTRY(RF_AutoConfig_s) component_list; */
+       char devname[56];       /* the name of this component */
+       dev_t dev;              /* the device for this component */
+       struct vnode *vp;       /* Mr. Vnode Pointer */
+       RF_ComponentLabel_t *clabel;  /* the label */
+       struct RF_AutoConfig_s *next; /* the next autoconfig structure 
+                                        in this set. */
 } RF_AutoConfig_t;
 
 typedef struct RF_ConfigSet_s {
-       struct RF_AutoConfig_s *ac;
+       struct RF_AutoConfig_s *ac; /* all of the autoconfig structures for
+                                      this config set. */
+       int rootable;               /* Set to 1 if this set can be root */
        struct RF_ConfigSet_s *next;
 } RF_ConfigSet_t;
 



Home | Main Index | Thread Index | Old Index