summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-11-26 22:34:06 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-11-26 22:34:06 +0000
commit578db6e5580d2214d6b251816a99dcc18fb8d6a4 (patch)
tree93ca9ca5123061b0f0dda3f39d3a6cf1872ce2d7
parentc38ed9b1c2e664cf30d42a3e8a3e528af06e306b (diff)
Add a CCDF_OLD flag used to get the old I/O policy
-rw-r--r--sbin/ccdconfig/ccdconfig.83
-rw-r--r--sbin/ccdconfig/ccdconfig.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sbin/ccdconfig/ccdconfig.8 b/sbin/ccdconfig/ccdconfig.8
index f5cdff03852..a1024ee6aaf 100644
--- a/sbin/ccdconfig/ccdconfig.8
+++ b/sbin/ccdconfig/ccdconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ccdconfig.8,v 1.6 1997/06/16 00:00:44 deraadt Exp $
+.\" $OpenBSD: ccdconfig.8,v 1.7 1997/11/26 22:34:04 niklas Exp $
.\" $NetBSD: ccdconfig.8,v 1.4 1996/02/28 01:01:17 thorpej Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -123,6 +123,7 @@ The flags are as follows:
CCDF_SWAP 0x01 Interleave should be dmmax
CCDF_UNIFORM 0x02 Use uniform interleave
CCDF_MIRROR 0x04 Enable data mirroring
+CCDF_OLD 0x08 Use old unoptimized I/O protocol
.Ed
.Pp
The format in the
diff --git a/sbin/ccdconfig/ccdconfig.c b/sbin/ccdconfig/ccdconfig.c
index 9af54b3e4d9..85fc0e2ca1d 100644
--- a/sbin/ccdconfig/ccdconfig.c
+++ b/sbin/ccdconfig/ccdconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ccdconfig.c,v 1.9 1997/09/14 08:52:13 deraadt Exp $ */
+/* $OpenBSD: ccdconfig.c,v 1.10 1997/11/26 22:34:05 niklas Exp $ */
/* $NetBSD: ccdconfig.c,v 1.6 1996/05/16 07:11:18 thorpej Exp $ */
/*-
@@ -77,6 +77,7 @@ struct flagval {
{ "CCDF_SWAP", CCDF_SWAP },
{ "CCDF_UNIFORM", CCDF_UNIFORM },
{ "CCDF_MIRROR", CCDF_MIRROR },
+ { "CCDF_OLD", CCDF_OLD },
{ NULL, 0 },
};