/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1995-1998 by Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _SYS_FC4_FCAL_H
#define _SYS_FC4_FCAL_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Fibre Channel Physical and Signaling Interface (FC-PH) definitions.
*
* NOTE: modifications of this file affect drivers, mpsas models, PLUTO
* firmware, SOC assembly code. Please be communicative.
*/
/*
* This is the standard frame header for FC-PH frames.
*/
typedef struct FC2_FRAME_HDR {
/* legal values for r_ctl */
/* legal values for r_ctl: Device Data */
/* legal values for r_ctl: Basic Link Services, type 0 */
/* legal values for r_ctl: Extended Link Services, type 1 */
/* legal values for r_ctl: Link Control */
/* type field definitions for Link Data frames: */
/* type field definitions for Device Data frames (from FC-PH 4.1): */
/* Well known addresses ... */
/* Fabric Busy Reason Codes */
/* NPort Busy Reason Codes */
/* Reject Reason Codes */
typedef struct FC2_RJT_PARAM {
/* BA_RJT and LS_RJT reason codes */
/*
* Frame Payloads that the SOC understands
* Transfer Ready:
*/
typedef struct Xfer_Rdy {
/*
* Extended Link Service Payload
*/
/* Arbitrary upper limit for now... */
typedef struct ELS_payload {
union els_cmd_u {
struct {
} c;
uint32_t i;
} els_cmd;
/*
* Data segment definition
*/
typedef struct fc_dataseg {
} fc_dataseg_t;
#ifdef __cplusplus
}
#endif
#endif /* !_SYS_FC4_FCAL_H */