Deleted Added
full compact
isp_stds.h (163899) isp_stds.h (164272)
1/* $FreeBSD: head/sys/dev/isp/isp_stds.h 163899 2006-11-02 03:21:32Z mjacob $ */
1/* $FreeBSD: head/sys/dev/isp/isp_stds.h 164272 2006-11-14 08:45:48Z mjacob $ */
2/*-
3 * Mailbox and Queue Entry Definitions for for Qlogic ISP SCSI adapters.
4 *
5 * Copyright (c) 1997-2006 by Matthew Jacob
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 114 unchanged lines hidden (view full) ---

124} ct_hdr_t;
125#define CT_REVISION 1
126#define CT_FC_TYPE_FC 0xFC
127#define CT_FC_SUBTYPE_NS 0x02
128
129/*
130 * RFT_ID Requet CT_IU
131 *
2/*-
3 * Mailbox and Queue Entry Definitions for for Qlogic ISP SCSI adapters.
4 *
5 * Copyright (c) 1997-2006 by Matthew Jacob
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 114 unchanged lines hidden (view full) ---

124} ct_hdr_t;
125#define CT_REVISION 1
126#define CT_FC_TYPE_FC 0xFC
127#define CT_FC_SUBTYPE_NS 0x02
128
129/*
130 * RFT_ID Requet CT_IU
131 *
132 * Source: INCITS xxx-200x Generic Services- 5 Rev 8.5 Section 5.2.5.30
132 * Source: NCITS xxx-200x Generic Services- 5 Rev 8.5 Section 5.2.5.30
133 */
134typedef struct {
135 ct_hdr_t rftid_hdr;
136 uint8_t rftid_reserved;
137 uint8_t rftid_portid[3];
138 uint32_t rftid_fc4types[8];
139} rft_id_t;
140
133 */
134typedef struct {
135 ct_hdr_t rftid_hdr;
136 uint8_t rftid_reserved;
137 uint8_t rftid_portid[3];
138 uint32_t rftid_fc4types[8];
139} rft_id_t;
140
141/*
142 * FCP Response Code Definitions
143 * Source: NCITS T10, Project 1144D, Revision 07a (aka FCP2r07a)
144 */
145#define FCP_RSPNS_CODE_OFFSET 3
141
146
147#define FCP_RSPNS_TMF_DONE 0
148#define FCP_RSPNS_DLBRSTX 1
149#define FCP_RSPNS_BADCMND 2
150#define FCP_RSPNS_EROFS 3
151#define FCP_RSPNS_TMF_REJECT 4
152#define FCP_RSPNS_TMF_FAILED 5
153
154
142/* unconverted miscellany */
143/*
144 * Basic FC Link Service defines
145 */
146/*
147 * These are in the R_CTL field.
148 */
149#define ABTS 0x81

--- 51 unchanged lines hidden ---
155/* unconverted miscellany */
156/*
157 * Basic FC Link Service defines
158 */
159/*
160 * These are in the R_CTL field.
161 */
162#define ABTS 0x81

--- 51 unchanged lines hidden ---