aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vinum/vinumkw.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-12-28 16:28:24 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-12-28 16:28:24 +0000
commitc285ca1254f7637672abbf8a9bfe36d047368b5f (patch)
tree810b2d31a3f6dedca1661451a79e88128ccefed9 /sys/dev/vinum/vinumkw.h
parente20e25db6225841bc76106447a8324796316b00b (diff)
downloadsrc-c285ca1254f7637672abbf8a9bfe36d047368b5f.tar.gz
src-c285ca1254f7637672abbf8a9bfe36d047368b5f.zip
Some relatively minor tweaks to enable vinum to be built into a static
kernel as a pseudo-device. The changes were: - #ifdef DEBUG -> #ifdef VINUMDEBUG - opt_vinum.h for holding above config variable - Fixing up a few stray problems where DEBUG wasn't optional. - config.c -> vinumconfig.c (there's already a config.o) - Other *.c -> vinum*.c (wasn't strictly necessary, but done in case we end up with something else conflicting later on and we might have to have yet more repository copies of files). - include file paths fixups.. (ie: get them all from the kernel tree instead of partly from the kernel and partly from /usr/include/machine) I've spoken with Greg about this.. I hope this doesn't mess him around too much..
Notes
Notes: svn path=/head/; revision=42123
Diffstat (limited to 'sys/dev/vinum/vinumkw.h')
-rw-r--r--sys/dev/vinum/vinumkw.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumkw.h b/sys/dev/vinum/vinumkw.h
index 2ffd362ae6d7..666875174e6c 100644
--- a/sys/dev/vinum/vinumkw.h
+++ b/sys/dev/vinum/vinumkw.h
@@ -33,9 +33,13 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: vinumkw.h,v 1.2 1998/10/21 08:32:32 grog Exp $
+ * $Id: vinumkw.h,v 1.4 1998/12/28 04:56:24 peter Exp $
*/
+#ifdef KERNEL
+#include "opt_vinum.h"
+#endif
+
/* Command keywords that vinum knows. These include both user-level
* and kernel-level stuff */
@@ -96,7 +100,7 @@ enum keyword {
kw_printconfig,
kw_replace,
kw_detached,
-#ifdef DEBUG
+#ifdef VINUMDEBUG
kw_debug, /* go into debugger */
#endif
kw_info,