summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2008-06-10 23:44:59 +0000
committermarco <marco@openbsd.org>2008-06-10 23:44:59 +0000
commita95dfb7cb0379115dfa13adef501b5f294093f23 (patch)
tree4e9f1f3641c6a106806e9a3113fe9dfd1cc29036
parentmake opencvs behave exactly like GNU cvs does when it comes to (diff)
downloadwireguard-openbsd-a95dfb7cb0379115dfa13adef501b5f294093f23.tar.xz
wireguard-openbsd-a95dfb7cb0379115dfa13adef501b5f294093f23.zip
Add opaque structure to create raid.
-rw-r--r--sys/dev/biovar.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/biovar.h b/sys/dev/biovar.h
index 713be464542..4054cb90c1d 100644
--- a/sys/dev/biovar.h
+++ b/sys/dev/biovar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biovar.h,v 1.28 2007/05/28 21:54:26 marco Exp $ */
+/* $OpenBSD: biovar.h,v 1.29 2008/06/10 23:44:59 marco Exp $ */
/*
* Copyright (c) 2002 Niklas Hallqvist. All rights reserved.
@@ -180,6 +180,12 @@ struct bioc_createraid {
#define BIOC_SCFORCE 0x01 /* do not assemble, force create */
#define BIOC_SCDEVT 0x02 /* dev_t array or string in dev_list */
#define BIOC_SCNOAUTOASSEMBLE 0x04 /* do not assemble during autoconf */
+ u_int32_t bc_opaque_size;
+ u_int32_t bc_opaque_flags;
+#define BIOC_SOINVALID 0x00 /* no opaque pointer */
+#define BIOC_SOIN 0x01 /* kernel perspective direction */
+#define BIOC_SOOUT 0x02 /* kernel perspective direction */
+ void *bc_opaque;
};
/* kernel and userspace defines */