summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpt
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-05-26 05:42:00 +0000
committermjacob <mjacob@FreeBSD.org>2006-05-26 05:42:00 +0000
commit963bfb309e299d8f5a45ff8a59e84847a8fdde42 (patch)
tree1d2eb958b11cba5f6e73d61cd43c798042661603 /sys/dev/mpt
parent8d79d9a960e20d2fb86a4fb74531935631b98147 (diff)
downloadFreeBSD-src-963bfb309e299d8f5a45ff8a59e84847a8fdde42.zip
FreeBSD-src-963bfb309e299d8f5a45ff8a59e84847a8fdde42.tar.gz
Fix spellings. Prototype mpt_dump_request. Add a 'raid_enabled' tag.
Diffstat (limited to 'sys/dev/mpt')
-rw-r--r--sys/dev/mpt/mpt.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/mpt/mpt.h b/sys/dev/mpt/mpt.h
index fe6aa66..20410ff 100644
--- a/sys/dev/mpt/mpt.h
+++ b/sys/dev/mpt/mpt.h
@@ -446,7 +446,7 @@ struct mpt_raid_volume {
CONFIG_PAGE_RAID_VOL_0 *config_page;
MPI_RAID_VOL_INDICATOR sync_progress;
mpt_raid_volume_flags flags;
- u_int quieced_disks;
+ u_int quiesced_disks;
};
typedef enum {
@@ -490,8 +490,9 @@ struct mpt_softc {
: 1,
twildcard : 1,
tenabled : 1,
- : 2,
role : 2, /* none, ini, target, both */
+ : 1,
+ raid_enabled : 1,
raid_mwce_set : 1,
getreqwaiter : 1,
shutdwn_raid : 1,
@@ -933,6 +934,8 @@ int mpt_decode_value(mpt_decode_entry_t *table, u_int num_entries,
const char *name, u_int value, u_int *cur_column,
u_int wrap_point);
+void mpt_dump_request(struct mpt_softc *, request_t *);
+
enum {
MPT_PRT_ALWAYS,
MPT_PRT_FATAL,
OpenPOWER on IntegriCloud