PERFORCE change 106697 for review
Matt Jacob
mjacob at FreeBSD.org
Mon Sep 25 20:27:16 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=106697
Change 106697 by mjacob at newisp on 2006/09/26 03:27:01
Add plogx CMD FLag definitions for some vague
notion of program clarity.
Affected files ...
.. //depot/projects/newisp/dev/isp/ispmbox.h#6 edit
Differences ...
==== //depot/projects/newisp/dev/isp/ispmbox.h#6 (text+ko) ====
@@ -201,6 +201,8 @@
#define ASYNC_PDB_CHANGED 0x8014
#define ASYNC_CHANGE_NOTIFY 0x8015
#define ASYNC_LIP_F8 0x8016
+#define ASYNC_LIP_ERROR 0x8017
+#define ASYNC_SECURITY_UPDATE 0x801B
#define ASYNC_CMD_CMPLT 0x8020
#define ASYNC_CTIO_DONE 0x8021
#define ASYNC_IP_XMIT_DONE 0x8022
@@ -223,11 +225,16 @@
#define ISP_CONN_LOOPBACK 5
#define ASYNC_RIO_RESP 0x8040
#define ASYNC_RIO_COMP 0x8042
+#define ASYNC_RCV_ERR 0x8048
/*
* 2.01.31 2200 Only. Need Bit 13 in Mailbox 1 for Set Firmware Options
* mailbox command to enable this.
*/
#define ASYNC_QFULL_SENT 0x8049
+/*
+ * 24XX only
+ */
+#define ASYNC_RJT_SENT 0x8049
/*
* Mailbox Usages
@@ -1129,6 +1136,7 @@
#define PLOGX_STATUS_UNAVAIL 0x28
#define PLOGX_STATUS_LOGOUT 0x29
#define PLOGX_STATUS_IOCBERR 0x31
+
#define PLOGX_IOCBERR_NOLINK 0x01
#define PLOGX_IOCBERR_NOIOCB 0x02
#define PLOGX_IOCBERR_NOXGHG 0x03
@@ -1144,6 +1152,25 @@
#define PLOGX_IOCBERR_NOHANDLE 0x1c
#define PLOGX_IOCBERR_NOFLOGI 0x1f /* further info in IOPARM 1 */
+#define PLOGX_FLG_CMD_MASK 0xf
+#define PLOGX_FLG_CMD_PLOGI 0
+#define PLOGX_FLG_CMD_PRLI 1
+#define PLOGX_FLG_CMD_PDISC 2
+#define PLOGX_FLG_CMD_LOGO 8
+#define PLOGX_FLG_CMD_PRLO 9
+#define PLOGX_FLG_CMD_TPRLO 10
+
+#define PLOGX_FLG_COND_PLOGI 0x10 /* if with PLOGI */
+#define PLOGX_FLG_IMPLICIT 0x10 /* if with LOGO, PRLO, TPRLO */
+#define PLOGX_FLG_SKIP_PRLI 0x20 /* if with PLOGI */
+#define PLOGX_FLG_IMPLICIT_LOGO_ALL 0x20 /* if with LOGO */
+#define PLOGX_FLG_EXPLICIT_LOGO 0x40 /* if with LOGO */
+#define PLOGX_FLG_COMMON_FEATURES 0x80 /* if with PLOGI */
+#define PLOGX_FLG_FREE_NPHDL 0x80 /* if with with LOGO */
+
+#define PLOGX_FLG_CLASS2 0x100 /* if with PLOGI */
+#define PLOGX_FLG_FCP2_OVERRIDE 0x200 /* if with PRLOG, PRLI */
+
/*
* Simple Name Server Data Structures
*/
More information about the p4-projects
mailing list