diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2008-06-10 23:45:00 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2008-06-10 23:45:00 +0000 |
commit | 8f45319472bca741ecbf8102ed06e3c7aaa01c74 (patch) | |
tree | ba922b180921684e31b42d121be382335b06e526 /sys/dev/biovar.h | |
parent | 025e7e4adce75f9270f3f8a0f72d3e22862249c5 (diff) |
Add opaque structure to create raid.
Diffstat (limited to 'sys/dev/biovar.h')
-rw-r--r-- | sys/dev/biovar.h | 8 |
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 */ |