summaryrefslogtreecommitdiffstats
path: root/sys/dev/mfi/mfireg.h
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2006-09-07 18:40:49 +0000
committerambrisko <ambrisko@FreeBSD.org>2006-09-07 18:40:49 +0000
commit2b1d36a00f0a7f5cfeef85aab4d61096ea05f896 (patch)
tree48bd98c06d2539d29e5582eaf07be9643f9155c4 /sys/dev/mfi/mfireg.h
parent59b2f67d03b792a89a49f978259d1ae5b124509d (diff)
downloadFreeBSD-src-2b1d36a00f0a7f5cfeef85aab4d61096ea05f896.zip
FreeBSD-src-2b1d36a00f0a7f5cfeef85aab4d61096ea05f896.tar.gz
Change the event log dump on initial boot to use get_event versus
AEN. This makes the boot messages cleaner. I now know how this structure works so I can implement it versus guessing. Remove the not ready type code since it is ready now. I added the time stamp/locale/class so people can parse messages better. Create a sysctl so that we can set the locale/class level.
Diffstat (limited to 'sys/dev/mfi/mfireg.h')
-rw-r--r--sys/dev/mfi/mfireg.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/sys/dev/mfi/mfireg.h b/sys/dev/mfi/mfireg.h
index 9fdd375..2665f58 100644
--- a/sys/dev/mfi/mfireg.h
+++ b/sys/dev/mfi/mfireg.h
@@ -715,19 +715,10 @@ struct mfi_evt_detail {
char description[128];
} __packed;
-/* SAS log detail guessed at */
-struct mfi_log_detail {
- uint32_t something1;
- uint32_t something2;
- uint32_t seq;
- uint32_t something3;
- uint32_t arg_type;
- uint8_t reserved1[15];
-
- union {
- uint8_t b[96];
- } args;
- char description[128];
+struct mfi_evt_list {
+ uint32_t count;
+ uint32_t reserved;
+ struct mfi_evt_detail event[1];
} __packed;
struct mfi_ldref {
OpenPOWER on IntegriCloud