summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2008-10-26 19:51:21 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2008-10-26 19:51:21 +0000
commit13355e9fb1b63d4e0aa0e980bdf5b5efd27db900 (patch)
treed8a8caeafdf5664a6c3f52b3f1824c3b1d3a841f /sys
parent01ce60e3ea2526ea5cd097051065caa686d40e61 (diff)
Spello and ad some #defines
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/mpireg.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/ic/mpireg.h b/sys/dev/ic/mpireg.h
index 38ae0eefbab..29d7da7845a 100644
--- a/sys/dev/ic/mpireg.h
+++ b/sys/dev/ic/mpireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpireg.h,v 1.33 2008/09/30 23:32:34 dlg Exp $ */
+/* $OpenBSD: mpireg.h,v 1.34 2008/10/26 19:51:20 marco Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -1189,7 +1189,7 @@ struct mpi_cfg_ioc_pg2 {
u_int8_t active_physdisks;
u_int8_t max_physdisks;
- /* followed by a list of mpi_cf_raid_vol structs */
+ /* followed by a list of mpi_cfg_raid_vol structs */
} __packed;
struct mpi_cfg_raid_vol {
@@ -1202,6 +1202,10 @@ struct mpi_cfg_raid_vol {
#define MPI_CFG_RAID_TYPE_RAID_IS (0x00)
#define MPI_CFG_RAID_TYPE_RAID_IME (0x01)
#define MPI_CFG_RAID_TYPE_RAID_IM (0x02)
+#define MPI_CFG_RAID_TYPE_RAID_5 (0x03)
+#define MPI_CFG_RAID_TYPE_RAID_6 (0x04)
+#define MPI_CFG_RAID_TYPE_RAID_10 (0x05)
+#define MPI_CFG_RAID_TYPE_RAID_50 (0x06)
u_int8_t flags;
#define MPI_CFG_RAID_VOL_INACTIVE (1<<3)
u_int16_t reserved;
@@ -1213,7 +1217,7 @@ struct mpi_cfg_ioc_pg3 {
u_int8_t no_phys_disks;
u_int8_t reserved[3];
- /* followed by a list of mpi_cf_raid_physdisk structs */
+ /* followed by a list of mpi_cfg_raid_physdisk structs */
} __packed;
struct mpi_cfg_raid_physdisk {