xref: /freebsd/sys/dev/isp/isp_stds.h (revision 718cf2ccb9956613756ab15d7a0e28f2c8e91cab)
110365e5aSMatt Jacob /* $FreeBSD$ */
210365e5aSMatt Jacob /*-
3*718cf2ccSPedro F. Giffuni  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
4*718cf2ccSPedro F. Giffuni  *
52df76c16SMatt Jacob  *  Copyright (c) 1997-2009 by Matthew Jacob
610365e5aSMatt Jacob  *  All rights reserved.
710365e5aSMatt Jacob  *
810365e5aSMatt Jacob  *  Redistribution and use in source and binary forms, with or without
910365e5aSMatt Jacob  *  modification, are permitted provided that the following conditions
1010365e5aSMatt Jacob  *  are met:
1110365e5aSMatt Jacob  *
12e48b2487SMatt Jacob  *  1. Redistributions of source code must retain the above copyright
13e48b2487SMatt Jacob  *     notice, this list of conditions and the following disclaimer.
14e48b2487SMatt Jacob  *  2. Redistributions in binary form must reproduce the above copyright
15e48b2487SMatt Jacob  *     notice, this list of conditions and the following disclaimer in the
16e48b2487SMatt Jacob  *     documentation and/or other materials provided with the distribution.
17e48b2487SMatt Jacob  *
18e48b2487SMatt Jacob  *  THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1910365e5aSMatt Jacob  *  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2010365e5aSMatt Jacob  *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21e48b2487SMatt Jacob  *  ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
22e48b2487SMatt Jacob  *  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2310365e5aSMatt Jacob  *  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2410365e5aSMatt Jacob  *  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2510365e5aSMatt Jacob  *  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2610365e5aSMatt Jacob  *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2710365e5aSMatt Jacob  *  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2810365e5aSMatt Jacob  *  SUCH DAMAGE.
292df76c16SMatt Jacob  *
3010365e5aSMatt Jacob  */
3110365e5aSMatt Jacob /*
3210365e5aSMatt Jacob  * Structures that derive directly from public standards.
3310365e5aSMatt Jacob  */
3410365e5aSMatt Jacob #ifndef	_ISP_STDS_H
3510365e5aSMatt Jacob #define	_ISP_STDS_H
3610365e5aSMatt Jacob /*
3710365e5aSMatt Jacob  * FC Frame Header
3810365e5aSMatt Jacob  *
3910365e5aSMatt Jacob  * Source: dpANS-X3.xxx-199x, section 18 (AKA FC-PH-2)
4010365e5aSMatt Jacob  *
4110365e5aSMatt Jacob  */
4210365e5aSMatt Jacob typedef struct {
4310365e5aSMatt Jacob 	uint8_t		r_ctl;
4410365e5aSMatt Jacob 	uint8_t		d_id[3];
4510365e5aSMatt Jacob 	uint8_t		cs_ctl;
4610365e5aSMatt Jacob 	uint8_t		s_id[3];
4710365e5aSMatt Jacob 	uint8_t		type;
482df76c16SMatt Jacob 	uint8_t		f_ctl[3];
4910365e5aSMatt Jacob 	uint8_t		seq_id;
5010365e5aSMatt Jacob 	uint8_t		df_ctl;
5110365e5aSMatt Jacob 	uint16_t	seq_cnt;
5210365e5aSMatt Jacob 	uint16_t	ox_id;
5310365e5aSMatt Jacob 	uint16_t	rx_id;
5410365e5aSMatt Jacob 	uint32_t	parameter;
5510365e5aSMatt Jacob } fc_hdr_t;
5610365e5aSMatt Jacob 
5710365e5aSMatt Jacob /*
5810365e5aSMatt Jacob  * FCP_CMND_IU Payload
5910365e5aSMatt Jacob  *
6010365e5aSMatt Jacob  * Source: NICTS T10, Project 1144D, Revision 07a, Section 9 (AKA fcp2-r07a)
6110365e5aSMatt Jacob  *
6210365e5aSMatt Jacob  * Notes:
6310365e5aSMatt Jacob  *	When additional cdb length is defined in fcp_cmnd_alen_datadir,
6410365e5aSMatt Jacob  * 	bits 2..7, the actual cdb length is 16 + ((fcp_cmnd_alen_datadir>>2)*4),
6510365e5aSMatt Jacob  *	with the datalength following in MSB format just after.
6610365e5aSMatt Jacob  */
6710365e5aSMatt Jacob typedef struct {
6810365e5aSMatt Jacob 	uint8_t		fcp_cmnd_lun[8];
6910365e5aSMatt Jacob 	uint8_t		fcp_cmnd_crn;
7010365e5aSMatt Jacob 	uint8_t		fcp_cmnd_task_attribute;
7110365e5aSMatt Jacob 	uint8_t		fcp_cmnd_task_management;
7210365e5aSMatt Jacob 	uint8_t		fcp_cmnd_alen_datadir;
7310365e5aSMatt Jacob 	union {
7410365e5aSMatt Jacob 		struct {
7510365e5aSMatt Jacob 			uint8_t		fcp_cmnd_cdb[16];
7610365e5aSMatt Jacob 			uint32_t	fcp_cmnd_dl;
7710365e5aSMatt Jacob 		} sf;
7810365e5aSMatt Jacob 		struct {
7910365e5aSMatt Jacob 			uint8_t		fcp_cmnd_cdb[1];
8010365e5aSMatt Jacob 		} lf;
8110365e5aSMatt Jacob 	} cdb_dl;
8210365e5aSMatt Jacob } fcp_cmnd_iu_t;
8310365e5aSMatt Jacob 
8410365e5aSMatt Jacob 
8510365e5aSMatt Jacob #define	FCP_CMND_TASK_ATTR_SIMPLE	0x00
8610365e5aSMatt Jacob #define	FCP_CMND_TASK_ATTR_HEAD		0x01
8710365e5aSMatt Jacob #define	FCP_CMND_TASK_ATTR_ORDERED	0x02
8810365e5aSMatt Jacob #define	FCP_CMND_TASK_ATTR_ACA		0x04
8910365e5aSMatt Jacob #define	FCP_CMND_TASK_ATTR_UNTAGGED	0x05
9010365e5aSMatt Jacob #define	FCP_CMND_TASK_ATTR_MASK		0x07
9110365e5aSMatt Jacob 
9210365e5aSMatt Jacob #define	FCP_CMND_ADDTL_CDBLEN_SHIFT	2
9310365e5aSMatt Jacob 
9410365e5aSMatt Jacob #define	FCP_CMND_DATA_WRITE		0x01
9510365e5aSMatt Jacob #define	FCP_CMND_DATA_READ		0x02
9610365e5aSMatt Jacob 
9710365e5aSMatt Jacob #define	FCP_CMND_DATA_DIR_MASK		0x03
9810365e5aSMatt Jacob 
9910365e5aSMatt Jacob #define	FCP_CMND_TMF_CLEAR_ACA		0x40
10010365e5aSMatt Jacob #define	FCP_CMND_TMF_TGT_RESET		0x20
10110365e5aSMatt Jacob #define	FCP_CMND_TMF_LUN_RESET		0x10
102c98d2b1fSAlexander Motin #define	FCP_CMND_TMF_QUERY_ASYNC_EVENT	0x08
10310365e5aSMatt Jacob #define	FCP_CMND_TMF_CLEAR_TASK_SET	0x04
10410365e5aSMatt Jacob #define	FCP_CMND_TMF_ABORT_TASK_SET	0x02
105c98d2b1fSAlexander Motin #define	FCP_CMND_TMF_QUERY_TASK_SET	0x01
10610365e5aSMatt Jacob 
10710365e5aSMatt Jacob /*
10810365e5aSMatt Jacob  * Basic CT IU Header
10910365e5aSMatt Jacob  *
11010365e5aSMatt Jacob  * Source: X3.288-199x Generic Services 2 Rev 5.3 (FC-GS-2) Section 4.3.1
11110365e5aSMatt Jacob  */
11210365e5aSMatt Jacob 
11310365e5aSMatt Jacob typedef struct {
11410365e5aSMatt Jacob 	uint8_t		ct_revision;
11510365e5aSMatt Jacob 	uint8_t		ct_in_id[3];
11610365e5aSMatt Jacob 	uint8_t		ct_fcs_type;
11710365e5aSMatt Jacob 	uint8_t		ct_fcs_subtype;
11810365e5aSMatt Jacob 	uint8_t		ct_options;
11910365e5aSMatt Jacob 	uint8_t		ct_reserved0;
12010365e5aSMatt Jacob 	uint16_t	ct_cmd_resp;
12110365e5aSMatt Jacob 	uint16_t	ct_bcnt_resid;
12210365e5aSMatt Jacob 	uint8_t		ct_reserved1;
12310365e5aSMatt Jacob 	uint8_t		ct_reason;
12410365e5aSMatt Jacob 	uint8_t		ct_explanation;
12510365e5aSMatt Jacob 	uint8_t		ct_vunique;
12610365e5aSMatt Jacob } ct_hdr_t;
12710365e5aSMatt Jacob #define	CT_REVISION		1
12810365e5aSMatt Jacob #define	CT_FC_TYPE_FC		0xFC
12910365e5aSMatt Jacob #define CT_FC_SUBTYPE_NS	0x02
13010365e5aSMatt Jacob 
13110365e5aSMatt Jacob /*
13210365e5aSMatt Jacob  * RFT_ID Requet CT_IU
13310365e5aSMatt Jacob  *
134f7c631bcSMatt Jacob  * Source: NCITS xxx-200x Generic Services- 5 Rev 8.5 Section 5.2.5.30
13510365e5aSMatt Jacob  */
13610365e5aSMatt Jacob typedef struct {
13710365e5aSMatt Jacob 	ct_hdr_t	rftid_hdr;
13810365e5aSMatt Jacob 	uint8_t		rftid_reserved;
13910365e5aSMatt Jacob 	uint8_t		rftid_portid[3];
14010365e5aSMatt Jacob 	uint32_t	rftid_fc4types[8];
14110365e5aSMatt Jacob } rft_id_t;
14210365e5aSMatt Jacob 
143f7c631bcSMatt Jacob /*
1447e53e7acSAlexander Motin  * RSPN_ID Requet CT_IU
1457e53e7acSAlexander Motin  *
1467e53e7acSAlexander Motin  * Source: INCITS 463-2010 Generic Services 6 Section 5.2.5.32
1477e53e7acSAlexander Motin  */
1487e53e7acSAlexander Motin typedef struct {
1497e53e7acSAlexander Motin 	ct_hdr_t	rspnid_hdr;
1507e53e7acSAlexander Motin 	uint8_t		rspnid_reserved;
1517e53e7acSAlexander Motin 	uint8_t		rspnid_portid[3];
1527e53e7acSAlexander Motin 	uint8_t		rspnid_length;
1537e53e7acSAlexander Motin 	uint8_t		rspnid_name[0];
1547e53e7acSAlexander Motin } rspn_id_t;
1557e53e7acSAlexander Motin 
1567e53e7acSAlexander Motin /*
15792056a05SAlexander Motin  * RFF_ID Requet CT_IU
15892056a05SAlexander Motin  *
15992056a05SAlexander Motin  * Source: INCITS 463-2010 Generic Services 6 Section 5.2.5.34
16092056a05SAlexander Motin  */
16192056a05SAlexander Motin typedef struct {
16292056a05SAlexander Motin 	ct_hdr_t	rffid_hdr;
16392056a05SAlexander Motin 	uint8_t		rffid_reserved;
16492056a05SAlexander Motin 	uint8_t		rffid_portid[3];
16592056a05SAlexander Motin 	uint16_t	rffid_reserved2;
16692056a05SAlexander Motin 	uint8_t		rffid_fc4features;
16792056a05SAlexander Motin 	uint8_t		rffid_fc4type;
16892056a05SAlexander Motin } rff_id_t;
16992056a05SAlexander Motin 
17092056a05SAlexander Motin /*
1717e53e7acSAlexander Motin  * RSNN_NN Requet CT_IU
1727e53e7acSAlexander Motin  *
1737e53e7acSAlexander Motin  * Source: INCITS 463-2010 Generic Services 6 Section 5.2.5.35
1747e53e7acSAlexander Motin  */
1757e53e7acSAlexander Motin typedef struct {
1767e53e7acSAlexander Motin 	ct_hdr_t	rsnnnn_hdr;
1777e53e7acSAlexander Motin 	uint8_t		rsnnnn_nodename[8];
1787e53e7acSAlexander Motin 	uint8_t		rsnnnn_length;
1797e53e7acSAlexander Motin 	uint8_t		rsnnnn_name[0];
1807e53e7acSAlexander Motin } rsnn_nn_t;
1817e53e7acSAlexander Motin 
1827e53e7acSAlexander Motin /*
183387d8239SMatt Jacob  * FCP Response IU and bits of interest
184387d8239SMatt Jacob  * Source: NCITS T10, Project 1828D, Revision 02b (aka FCP4r02b)
1852df76c16SMatt Jacob  */
186387d8239SMatt Jacob typedef struct {
187387d8239SMatt Jacob 	uint8_t		fcp_rsp_reserved[8];
188387d8239SMatt Jacob 	uint16_t	fcp_rsp_status_qualifier;	/* SAM-5 Status Qualifier */
189387d8239SMatt Jacob 	uint8_t		fcp_rsp_bits;
190387d8239SMatt Jacob 	uint8_t		fcp_rsp_scsi_status;		/* SAM-5 SCSI Status Byte */
191387d8239SMatt Jacob 	uint32_t	fcp_rsp_resid;
192387d8239SMatt Jacob 	uint32_t	fcp_rsp_snslen;
193387d8239SMatt Jacob 	uint32_t	fcp_rsp_rsplen;
194387d8239SMatt Jacob 	/*
195387d8239SMatt Jacob 	 * In the bytes that follow, it's going to be
196387d8239SMatt Jacob 	 * FCP RESPONSE INFO (max 8 bytes, possibly 0)
197387d8239SMatt Jacob 	 * FCP SENSE INFO (if any)
198387d8239SMatt Jacob 	 * FCP BIDIRECTIONAL READ RESID (if any)
199387d8239SMatt Jacob 	 */
200387d8239SMatt Jacob 	uint8_t		fcp_rsp_extra[0];
201387d8239SMatt Jacob } fcp_rsp_iu_t;
202387d8239SMatt Jacob #define	MIN_FCP_RESPONSE_SIZE		24
203387d8239SMatt Jacob 
204387d8239SMatt Jacob #define	FCP_BIDIR_RSP			0x80	/* Bi-Directional response */
205387d8239SMatt Jacob #define	FCP_BIDIR_RESID_UNDERFLOW	0x40
206387d8239SMatt Jacob #define	FCP_BIDIR_RESID_OVERFLOW	0x20
2072df76c16SMatt Jacob #define	FCP_CONF_REQ			0x10
2082df76c16SMatt Jacob #define	FCP_RESID_UNDERFLOW		0x08
2092df76c16SMatt Jacob #define	FCP_RESID_OVERFLOW		0x04
2102df76c16SMatt Jacob #define	FCP_SNSLEN_VALID		0x02
2112df76c16SMatt Jacob #define	FCP_RSPLEN_VALID		0x01
2122df76c16SMatt Jacob 
213e3ec25e2SMatt Jacob #define FCP_MAX_RSPLEN			0x08
2142df76c16SMatt Jacob /*
215f7c631bcSMatt Jacob  * FCP Response Code Definitions
2162df76c16SMatt Jacob  * Source: NCITS T10, Project 1144D, Revision 08 (aka FCP2r08)
217f7c631bcSMatt Jacob  */
218f7c631bcSMatt Jacob #define	FCP_RSPNS_CODE_OFFSET		3
219f7c631bcSMatt Jacob 
220f7c631bcSMatt Jacob #define	FCP_RSPNS_TMF_DONE		0
221f7c631bcSMatt Jacob #define	FCP_RSPNS_DLBRSTX		1
222f7c631bcSMatt Jacob #define	FCP_RSPNS_BADCMND		2
223f7c631bcSMatt Jacob #define	FCP_RSPNS_EROFS			3
224f7c631bcSMatt Jacob #define	FCP_RSPNS_TMF_REJECT		4
225f7c631bcSMatt Jacob #define	FCP_RSPNS_TMF_FAILED		5
226e3ec25e2SMatt Jacob #define	FCP_RSPNS_TMF_SUCCEEDED		8
227e3ec25e2SMatt Jacob #define	FCP_RSPNS_TMF_INCORRECT_LUN	9
228f7c631bcSMatt Jacob 
229387d8239SMatt Jacob /*
230387d8239SMatt Jacob  * R_CTL field definitions
231387d8239SMatt Jacob  *
232387d8239SMatt Jacob  * Bits 31-28 are ROUTING
233387d8239SMatt Jacob  * Bits 27-24 are INFORMATION
234387d8239SMatt Jacob  *
235387d8239SMatt Jacob  * These are nibble values, not bits
236387d8239SMatt Jacob  */
237387d8239SMatt Jacob #define	R_CTL_ROUTE_DATA	0x00
238387d8239SMatt Jacob #define	R_CTL_ROUTE_ELS		0x02
239387d8239SMatt Jacob #define	R_CTL_ROUTE_FC4_LINK	0x03
240387d8239SMatt Jacob #define	R_CTL_ROUTE_VDATA	0x04
241387d8239SMatt Jacob #define	R_CTL_ROUTE_EXENDED	0x05
242387d8239SMatt Jacob #define	R_CTL_ROUTE_BASIC	0x08
243387d8239SMatt Jacob #define	R_CTL_ROUTE_LINK	0x0c
244387d8239SMatt Jacob #define	R_CTL_ROUTE_EXT_ROUTING	0x0f
245387d8239SMatt Jacob 
246387d8239SMatt Jacob #define	R_CTL_INFO_UNCATEGORIZED	0x00
247387d8239SMatt Jacob #define	R_CTL_INFO_SOLICITED_DATA	0x01
248387d8239SMatt Jacob #define	R_CTL_INFO_UNSOLICITED_CONTROL	0x02
249387d8239SMatt Jacob #define	R_CTL_INFO_SOLICITED_CONTROL	0x03
250387d8239SMatt Jacob #define	R_CTL_INFO_UNSOLICITED_DATA	0x04
251387d8239SMatt Jacob #define	R_CTL_INFO_DATA_DESCRIPTOR	0x05
252387d8239SMatt Jacob #define	R_CTL_INFO_UNSOLICITED_COMMAND	0x06
253387d8239SMatt Jacob #define	R_CTL_INFO_COMMAND_STATUS	0x07
254387d8239SMatt Jacob 
255387d8239SMatt Jacob #define	MAKE_RCTL(a, b)	(((a) << 4) | (b))
25610365e5aSMatt Jacob 
25710365e5aSMatt Jacob /* unconverted miscellany */
25810365e5aSMatt Jacob /*
25910365e5aSMatt Jacob  * Basic FC Link Service defines
26010365e5aSMatt Jacob  */
261387d8239SMatt Jacob /* #define	ABTS	MAKE_RCTL(R_CTL_ROUTE_BASIC, R_CTL_INFO_SOLICITED_DATA) */
262387d8239SMatt Jacob #define	BA_ACC	MAKE_RCTL(R_CTL_ROUTE_BASIC, R_CTL_INFO_UNSOLICITED_DATA)	/* of ABORT */
263387d8239SMatt Jacob #define	BA_RJT	MAKE_RCTL(R_CTL_ROUTE_BASIC, R_CTL_INFO_DATA_DESCRIPTOR)	/* of ABORT */
26410365e5aSMatt Jacob 
26510365e5aSMatt Jacob /*
26610365e5aSMatt Jacob  * Link Service Accept/Reject
26710365e5aSMatt Jacob  */
26810365e5aSMatt Jacob #define	LS_ACC			0x8002
26910365e5aSMatt Jacob #define	LS_RJT			0x8001
27010365e5aSMatt Jacob 
27110365e5aSMatt Jacob /*
27210365e5aSMatt Jacob  * FC ELS Codes- bits 31-24 of the first payload word of an ELS frame.
27310365e5aSMatt Jacob  */
27410365e5aSMatt Jacob #define	PLOGI			0x03
27510365e5aSMatt Jacob #define	FLOGI			0x04
27610365e5aSMatt Jacob #define	LOGO			0x05
27710365e5aSMatt Jacob #define	ABTX			0x06
27810365e5aSMatt Jacob #define	PRLI			0x20
27910365e5aSMatt Jacob #define	PRLO			0x21
2802df76c16SMatt Jacob #define	SCN			0x22
28110365e5aSMatt Jacob #define	TPRLO			0x24
2822df76c16SMatt Jacob #define	PDISC			0x50
2832df76c16SMatt Jacob #define	ADISC			0x52
28410365e5aSMatt Jacob #define	RNC			0x53
28510365e5aSMatt Jacob 
28610365e5aSMatt Jacob /*
287387d8239SMatt Jacob  * PRLI Word 3 definitions
288387d8239SMatt Jacob  * FPC4-r02b January, 2011
289387d8239SMatt Jacob  */
290387d8239SMatt Jacob #define	PRLI_WD3_ENHANCED_DISCOVERY			(1 << 11)
291387d8239SMatt Jacob #define	PRLI_WD3_REC_SUPPORT				(1 << 10)
292387d8239SMatt Jacob #define	PRLI_WD3_TASK_RETRY_IDENTIFICATION_REQUESTED	(1 << 9)
293387d8239SMatt Jacob #define	PRLI_WD3_RETRY					(1 << 8)
294387d8239SMatt Jacob #define	PRLI_WD3_CONFIRMED_COMPLETION_ALLOWED		(1 << 7)
295387d8239SMatt Jacob #define	PRLI_WD3_DATA_OVERLAY_ALLOWED			(1 << 6)
296387d8239SMatt Jacob #define	PRLI_WD3_INITIATOR_FUNCTION			(1 << 5)
297387d8239SMatt Jacob #define	PRLI_WD3_TARGET_FUNCTION			(1 << 4)
298387d8239SMatt Jacob #define	PRLI_WD3_READ_FCP_XFER_RDY_DISABLED		(1 << 1)	/* definitely supposed to be set */
299387d8239SMatt Jacob #define	PRLI_WD3_WRITE_FCP_XFER_RDY_DISABLED		(1 << 0)
300387d8239SMatt Jacob 
301387d8239SMatt Jacob 
302387d8239SMatt Jacob 
303387d8239SMatt Jacob /*
30410365e5aSMatt Jacob  * FC4 defines
30510365e5aSMatt Jacob  */
30610365e5aSMatt Jacob #define	FC4_IP		5	/* ISO/EEC 8802-2 LLC/SNAP */
30710365e5aSMatt Jacob #define	FC4_SCSI	8	/* SCSI-3 via Fibre Channel Protocol (FCP) */
30810365e5aSMatt Jacob #define	FC4_FC_SVC	0x20	/* Fibre Channel Services */
30910365e5aSMatt Jacob 
31010365e5aSMatt Jacob #ifndef	MSG_ABORT
31110365e5aSMatt Jacob #define	MSG_ABORT		0x06
31210365e5aSMatt Jacob #endif
31310365e5aSMatt Jacob #ifndef	MSG_BUS_DEV_RESET
31410365e5aSMatt Jacob #define	MSG_BUS_DEV_RESET	0x0c
31510365e5aSMatt Jacob #endif
31610365e5aSMatt Jacob #ifndef	MSG_ABORT_TAG
31710365e5aSMatt Jacob #define	MSG_ABORT_TAG		0x0d
31810365e5aSMatt Jacob #endif
31910365e5aSMatt Jacob #ifndef	MSG_CLEAR_QUEUE
32010365e5aSMatt Jacob #define	MSG_CLEAR_QUEUE		0x0e
32110365e5aSMatt Jacob #endif
32210365e5aSMatt Jacob #ifndef	MSG_REL_RECOVERY
32310365e5aSMatt Jacob #define	MSG_REL_RECOVERY	0x10
32410365e5aSMatt Jacob #endif
32510365e5aSMatt Jacob #ifndef	MSG_TERM_IO_PROC
32610365e5aSMatt Jacob #define	MSG_TERM_IO_PROC	0x11
32710365e5aSMatt Jacob #endif
32810365e5aSMatt Jacob #ifndef	MSG_LUN_RESET
32910365e5aSMatt Jacob #define	MSG_LUN_RESET		0x17
33010365e5aSMatt Jacob #endif
33110365e5aSMatt Jacob 
33210365e5aSMatt Jacob #endif	/* _ISP_STDS_H */
333