diff options
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/mpireg.h | 35 |
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; |