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