summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Deval <tdeval@cvs.openbsd.org>2002-05-22 21:22:33 +0000
committerThierry Deval <tdeval@cvs.openbsd.org>2002-05-22 21:22:33 +0000
commita0cd0d638cfd1df3fe1bd6a57313de77b83f6bb0 (patch)
tree453aa08ede04d7750589e708fca3d14121f94269
parent598b604c9ebb5f84edb719fca25209fd13f40be3 (diff)
max length of debug variables
-rw-r--r--sys/dev/raidframe/rf_configure.h7
-rw-r--r--sys/dev/raidframe/rf_types.h11
2 files changed, 10 insertions, 8 deletions
diff --git a/sys/dev/raidframe/rf_configure.h b/sys/dev/raidframe/rf_configure.h
index c73b1e37760..fd436a53903 100644
--- a/sys/dev/raidframe/rf_configure.h
+++ b/sys/dev/raidframe/rf_configure.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rf_configure.h,v 1.3 1999/07/30 14:45:32 peter Exp $ */
+/* $OpenBSD: rf_configure.h,v 1.4 2002/05/22 21:22:32 tdeval Exp $ */
/* $NetBSD: rf_configure.h,v 1.4 1999/03/02 03:18:49 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@@ -70,8 +70,9 @@ struct RF_Config_s {
* not used in kernel */
char maxOutstandingDiskReqs; /* # concurrent reqs to be sent to a
* disk. not used in kernel. */
- char debugVars[RF_MAXDBGV][50]; /* space for specifying debug
- * variables & their values */
+ char debugVars[RF_MAXDBGV][RF_MAXDBGVLEN]; /* space for specifying
+ * debug variables &
+ * their values */
unsigned int layoutSpecificSize; /* size in bytes of
* layout-specific info */
void *layoutSpecific; /* a pointer to a layout-specific structure to
diff --git a/sys/dev/raidframe/rf_types.h b/sys/dev/raidframe/rf_types.h
index ef42b7eca18..73e252d17fd 100644
--- a/sys/dev/raidframe/rf_types.h
+++ b/sys/dev/raidframe/rf_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rf_types.h,v 1.4 2002/04/24 21:53:12 espie Exp $ */
+/* $OpenBSD: rf_types.h,v 1.5 2002/05/22 21:22:32 tdeval Exp $ */
/* $NetBSD: rf_types.h,v 1.6 1999/09/05 03:05:55 oster Exp $ */
/*
* rf_types.h
@@ -220,11 +220,12 @@ typedef enum RF_AccessState_e {
rf_CleanupState, /* release stripe locks, clean up */
rf_LastState /* must be the last state */
} RF_AccessState_t;
-#define RF_MAXROW 10 /* these are arbitrary and can be modified at
+#define RF_MAXROW 10 /* these are arbitrary and can be modified at
* will */
-#define RF_MAXCOL 40
-#define RF_MAXSPARE 10
-#define RF_MAXDBGV 75 /* max number of debug variables */
+#define RF_MAXCOL 40
+#define RF_MAXSPARE 10
+#define RF_MAXDBGV 75 /* max number of debug variables */
+#define RF_MAXDBGVLEN 50 /* max length of debug variables */
union RF_GenericParam_u {
void *p;