Add definitions to specify RAID 0+1/1+0 levels.

This commit is contained in:
xtraeme 2008-03-03 13:43:19 +00:00
parent 54de16529a
commit 0be3e346a7
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: biovar.h,v 1.6 2008/01/02 23:45:03 xtraeme Exp $ */
/* $NetBSD: biovar.h,v 1.7 2008/03/03 13:43:19 xtraeme Exp $ */
/* $OpenBSD: biovar.h,v 1.26 2007/03/19 03:02:08 marco Exp $ */
/*
@ -158,6 +158,8 @@ struct bioc_vol {
#define BIOC_SVINVALID_S "Invalid"
uint64_t bv_size; /* size of the disk */
int bv_level; /* raid level */
#define BIOC_SVOL_RAID01 0x0e
#define BIOC_SVOL_RAID10 0x1e
#define BIOC_SVOL_UNUSED 0xaa
#define BIOC_SVOL_HOTSPARE 0xbb
#define BIOC_SVOL_PASSTHRU 0xcc