summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2000-02-22 03:39:47 +0000
committeroster <oster@NetBSD.org>2000-02-22 03:39:47 +0000
commitfb5641502341c1243de4d6f7fcbcd71be70977a6 (patch)
tree290321c8277d38e332a3b66751c477bfeb8e722e /sys/dev/raidframe
parentbd2230fd0918c52f9ccb4a43cdc1217ff0347e27 (diff)
Add a few comments, and an indicator of whether or not an autoconfig set
is 'rootable'.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsd.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/sys/dev/raidframe/rf_netbsd.h b/sys/dev/raidframe/rf_netbsd.h
index 2022156396b..2aa7683b4fb 100644
--- a/sys/dev/raidframe/rf_netbsd.h
+++ b/sys/dev/raidframe/rf_netbsd.h
@@ -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 @@ struct raidcinfo {
/* 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;