summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2003-08-12 10:01:08 +0000
committerdsl <dsl@NetBSD.org>2003-08-12 10:01:08 +0000
commit85b06a40e56484f1f47e470a29e642316f6be552 (patch)
treeb3f1d83fce19593c8f4a58ab92a170750c350645 /sys/dev/raidframe
parent062dab3c81f32144031a5fa30c68681022a0bcf9 (diff)
Let boot code include raidframe.h to get RF_PROTECTED_SECTORS.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/raidframevar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/raidframe/raidframevar.h b/sys/dev/raidframe/raidframevar.h
index a50fd020617..a0e4c9ebe80 100644
--- a/sys/dev/raidframe/raidframevar.h
+++ b/sys/dev/raidframe/raidframevar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: raidframevar.h,v 1.3 2003/02/01 18:34:14 tron Exp $ */
+/* $NetBSD: raidframevar.h,v 1.4 2003/08/12 10:01:08 dsl Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -100,7 +100,7 @@
#ifndef _RF_RAIDFRAMEVAR_H_
#define _RF_RAIDFRAMEVAR_H_
-
+#ifndef _STANDALONE
#include <sys/ioctl.h>
#include <sys/errno.h>
@@ -112,6 +112,7 @@
#include <sys/lock.h>
#include <sys/mallocvar.h>
+#endif
/*
* First, define system-dependent types and constants.
@@ -490,6 +491,7 @@ typedef struct RF_ProgressInfo_s {
RF_uint64 total;
} RF_ProgressInfo_t;
+#ifndef _STANDALONE
typedef struct RF_LayoutSW_s {
RF_ParityConfig_t parityConfig;
const char *configName;
@@ -573,5 +575,6 @@ typedef struct RF_LayoutSW_s {
RF_AccessStripeMapFlags_t flags;
#endif /* !KERNEL */
} RF_LayoutSW_t;
+#endif
#endif /* !_RF_RAIDFRAMEVAR_H_ */