/*
* 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 1998 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_SOCAL_CQ_DEFS_H
#define _SYS_SOCAL_CQ_DEFS_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* define the CQ_HEADER for the soc command queue.
*/
typedef struct cq_hdr {
} cq_hdr_t;
/*
* Command Queue entry description.
*/
typedef struct cqe {
} cqe_t;
/*
* CQ Entry types.
*/
/*
* CQ Entry Flags
*/
/*
* CQ Descriptor Definition.
*/
typedef struct cq {
} soc_cq_t;
/*
* SOC header definition.
*/
typedef struct soc_hdr {
} soc_header_t;
/*
* SOC header request packet definition.
*/
typedef struct soc_request {
/*
* SOC header response packet definition.
*/
typedef struct soc_response {
/*
* SOC data request packet definition.
*/
typedef struct soc_data_request {
/*
* SOC+ (only) command-only packet definitiion
*/
typedef struct soc_cmdonly_request {
/*
* SOC+ (only) diagnostic request packet definition
*/
typedef struct soc_diag_request {
/*
* SOC+ (only) pool request packet definition
*/
typedef struct soc_pool_request {
/*
* Macros for flags field
*
* values used in both RSP's and REQ's
*/
/*
* REQ: this request is supplying buffers
* RSP: this pkt is unsolicited
*/
/*
* values used only for REQ's
*/
/*
* values used only for RSP's
*/
#define CQ_REQUEST_0 0
#define CQ_RESPONSE_0 0
typedef struct soc_request_descriptor {
#ifdef __cplusplus
}
#endif
#endif /* !_SYS_SOCAL_CQ_DEFS_H */