summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-09-10 01:11:47 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-09-10 01:11:47 +0000
commita77acf5b138d45ec9755987e30f29577d145e0b6 (patch)
tree289b8caeb763ce5c5b1d946d62dee2ccdeb2f9a3
parent6c6103b66c6a0153b638712fa5b803d236a5523e (diff)
#defines for the bits inside the flags field in mpi_cfg_fc_port_pg1
-rw-r--r--sys/dev/ic/mpireg.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/sys/dev/ic/mpireg.h b/sys/dev/ic/mpireg.h
index 383334feb91..6cb9343ae3b 100644
--- a/sys/dev/ic/mpireg.h
+++ b/sys/dev/ic/mpireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpireg.h,v 1.38 2010/05/19 07:26:02 dlg Exp $ */
+/* $OpenBSD: mpireg.h,v 1.39 2010/09/10 01:11:46 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -1383,6 +1383,27 @@ struct mpi_cfg_fc_port_pg1 {
struct mpi_cfg_hdr config_header;
u_int32_t flags;
+#define MPI_CFG_FC_PORT_0_FLAGS_MAP_BY_D_ID (1<<0)
+#define MPI_CFG_FC_PORT_0_FLAGS_MAINTAIN_LOGINS (1<<1)
+#define MPI_CFG_FC_PORT_0_FLAGS_PLOGI_AFTER_LOGO (1<<2)
+#define MPI_CFG_FC_PORT_0_FLAGS_SUPPRESS_PROT_REG (1<<3)
+#define MPI_CFG_FC_PORT_0_FLAGS_MASK_RR_TOV_UNITS (0x7<<4)
+#define MPI_CFG_FC_PORT_0_FLAGS_MASK_RR_TOV_UNIT_NONE (0x0<<4)
+#define MPI_CFG_FC_PORT_0_FLAGS_MASK_RR_TOV_UNIT_0_001_SEC (0x1<<4)
+#define MPI_CFG_FC_PORT_0_FLAGS_MASK_RR_TOV_UNIT_0_1_SEC (0x3<<4)
+#define MPI_CFG_FC_PORT_0_FLAGS_MASK_RR_TOV_UNIT_10_SEC (0x5<<4)
+#define MPI_CFG_FC_PORT_0_FLAGS_TGT_LARGE_CDB_EN (1<<7)
+#define MPI_CFG_FC_PORT_0_FLAGS_SOFT_ALPA_FALLBACK (1<<21)
+#define MPI_CFG_FC_PORT_0_FLAGS_PORT_OFFLINE (1<<22)
+#define MPI_CFG_FC_PORT_0_FLAGS_TGT_MODE_OXID (1<<23)
+#define MPI_CFG_FC_PORT_0_FLAGS_VERBOSE_RESCAN (1<<24)
+#define MPI_CFG_FC_PORT_0_FLAGS_FORCE_NOSEEPROM_WWNS (1<<25)
+#define MPI_CFG_FC_PORT_0_FLAGS_IMMEDIATE_ERROR (1<<26)
+#define MPI_CFG_FC_PORT_0_FLAGS_EXT_FCP_STATUS_EN (1<<27)
+#define MPI_CFG_FC_PORT_0_FLAGS_REQ_PROT_LOG_BUS_ADDR (1<<28)
+#define MPI_CFG_FC_PORT_0_FLAGS_REQ_PROT_LAN (1<<29)
+#define MPI_CFG_FC_PORT_0_FLAGS_REQ_PROT_TARGET (1<<30)
+#define MPI_CFG_FC_PORT_0_FLAGS_REQ_PROT_INITIATOR (1<<31)
u_int64_t noseepromwwnn;