/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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 1999 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_SCSI_ADAPTERS_IFPIO_H
#define _SYS_SCSI_ADAPTERS_IFPIO_H
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Include any headers you depend on.
*/
#ifdef __cplusplus
extern "C" {
#endif
/*
* Get ifp device map ioctl.
*/
struct ifp_board_info {
};
struct ifp_diag_fw_rev {
};
struct ifp_lb_frame_cmd {
};
#if defined(_LP64)
struct ifp_lb_frame_cmd32 {
};
#endif
/* defines for options field */
struct ifp_diag_selftest {
};
/* offset of the fcode from begining of file */
struct ifp_download {
};
struct ifp_al_addr_pair {
};
struct ifp_al_map {
short ifp_count;
};
struct adisc_payload {
};
struct rls_payload {
};
struct ifp_target_stats {
int logouts_recvd;
/*
* unsolicited LOGOs recvd from
* target
*/
int task_mgmt_failures;
int data_ro_mismatches;
int dl_len_mismatches;
};
struct ifp_stats {
};
#if !defined(SFIOCGMAP)
#endif
#if !defined(FCIO_GETMAP)
struct lilpmap {
};
#endif
/*
* Structure used for diag loopback commands.
* This is copied from socalvar.h and must
* remain the same as for the socal driver.
*/
typedef struct flb_hdr {
} flb_hdr_t;
/* This is the max loopback transfer size */
#if !defined(FCIO_FORCE_LIP)
#endif
#if !defined(FCIO_LINKSTATUS)
#endif
#if !defined(FCIO_FCODE_MCODE_VERSION)
#endif
struct ifp_fm_version {
int fcode_ver_len;
int mcode_ver_len;
int prom_ver_len;
};
#if defined(_LP64)
struct ifp_fm_version32 {
int fcode_ver_len;
int mcode_ver_len;
int prom_ver_len;
};
#endif
struct ifp_diag_mbox {
};
struct ifp_diag_regs {
void *ifpd_current_req_ptr;
void *ifpd_base_req_ptr;
void *ifpd_current_resp_ptr;
void *ifpd_base_resp_ptr;
};
struct ifp_diag_cmd {
};
#ifdef __cplusplus
}
#endif
#endif /* _SYS_SCSI_ADAPTERS_IFPIO_H */