summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mpireg.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2009-10-23 00:52:56 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2009-10-23 00:52:56 +0000
commit7dd5e7855dd31b3d740e28ca17b07e416e6d09a6 (patch)
tree965abc2e96b21f712496e376ae7e16ec46b24231 /sys/dev/ic/mpireg.h
parent242e7a97e0a5e1832cfc1236a547f4abec4a03af (diff)
describe some more event data.
Diffstat (limited to 'sys/dev/ic/mpireg.h')
-rw-r--r--sys/dev/ic/mpireg.h35
1 files changed, 34 insertions, 1 deletions
diff --git a/sys/dev/ic/mpireg.h b/sys/dev/ic/mpireg.h
index a99e864f0dc..7a46ab38043 100644
--- a/sys/dev/ic/mpireg.h
+++ b/sys/dev/ic/mpireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpireg.h,v 1.36 2009/10/15 12:38:49 dlg Exp $ */
+/* $OpenBSD: mpireg.h,v 1.37 2009/10/23 00:52:55 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -635,6 +635,39 @@ struct mpi_evt_change {
u_int8_t reserved[3];
} __packed;
+struct mpi_evt_link_status_change {
+ u_int8_t state;
+#define MPI_EVT_LINK_STATUS_CHANGE_OFFLINE 0x00
+#define MPI_EVT_LINK_STATUS_CHANGE_ACTIVE 0x01
+ u_int8_t _reserved1[3];
+
+ u_int8_t _reserved2[1];
+ u_int8_t port;
+ u_int8_t _reserved3[2];
+} __packed;
+
+struct mpi_evt_loop_status_change {
+ u_int8_t character4;
+ u_int8_t character3;
+ u_int8_t type;
+#define MPI_EVT_LOOP_STATUS_CHANGE_TYPE_LIP 0x01
+#define MPI_EVT_LOOP_STATUS_CHANGE_TYPE_LPE 0x02
+#define MPI_EVT_LOOP_STATUS_CHANGE_TYPE_LPB 0x03
+ u_int8_t _reserved1[1];
+
+ u_int8_t _reserved2[1];
+ u_int8_t port;
+ u_int8_t _reserved3[2];
+} __packed;
+
+struct mpi_evt_logout {
+ u_int32_t n_portid;
+
+ u_int8_t alias_index;
+ u_int8_t port;
+ u_int8_t _reserved[2];
+} __packed;
+
struct mpi_evt_sas_phy {
u_int8_t phy_num;
u_int8_t link_rates;