linux/drivers/scsi/csiostor/t4fw_api_stor.h

/*
 * This file is part of the Chelsio FCoE driver for Linux.
 *
 * Copyright (c) 2009-2010 Chelsio Communications, Inc. All rights reserved.
 *
 * This software is available to you under a choice of one of two
 * licenses.  You may choose to be licensed under the terms of the GNU
 * General Public License (GPL) Version 2, available from the file
 * COPYING in the main directory of this source tree, or the
 * OpenIB.org BSD license below:
 *
 *     Redistribution and use in source and binary forms, with or
 *     without modification, are permitted provided that the following
 *     conditions are met:
 *
 *      - Redistributions of source code must retain the above
 *        copyright notice, this list of conditions and the following
 *        disclaimer.
 *
 *      - Redistributions in binary form must reproduce the above
 *        copyright notice, this list of conditions and the following
 *        disclaimer in the documentation and/or other materials
 *        provided with the distribution.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

#ifndef _T4FW_API_STOR_H_
#define _T4FW_API_STOR_H_


/******************************************************************************
 *   R E T U R N   V A L U E S
 ********************************/

enum fw_fcoe_link_sub_op {};

enum fw_fcoe_link_status {};

enum fw_ofld_prot {};

enum rport_type_fcoe {};

enum event_cause_fcoe {};

enum fcoe_cmn_type {};

enum fw_wr_stor_opcodes {};

struct fw_rdev_wr {};

#define FW_RDEV_WR_FLOWID_GET(x)
#define FW_RDEV_WR_ASSOC_FLOWID_GET(x)
#define FW_RDEV_WR_RPORT_TYPE_GET(x)
#define FW_RDEV_WR_NPIV_GET(x)
#define FW_RDEV_WR_CLASS_GET(x)
#define FW_RDEV_WR_TASK_RETRY_ID_GET(x)
#define FW_RDEV_WR_RETRY_GET(x)
#define FW_RDEV_WR_CONF_CMPL_GET(x)
#define FW_RDEV_WR_INI_GET(x)
#define FW_RDEV_WR_TGT_GET(x)

struct fw_fcoe_els_ct_wr {};

#define FW_FCOE_ELS_CT_WR_OPCODE(x)
#define FW_FCOE_ELS_CT_WR_OPCODE_GET(x)
#define FW_FCOE_ELS_CT_WR_IMMDLEN(x)
#define FW_FCOE_ELS_CT_WR_IMMDLEN_GET(x)
#define FW_FCOE_ELS_CT_WR_SP(x)

struct fw_scsi_write_wr {};

#define FW_SCSI_WRITE_WR_IMMDLEN(x)

struct fw_scsi_read_wr {};

#define FW_SCSI_READ_WR_IMMDLEN(x)

struct fw_scsi_cmd_wr {};

#define FW_SCSI_CMD_WR_IMMDLEN(x)

#define SCSI_ABORT
#define SCSI_CLOSE

struct fw_scsi_abrt_cls_wr {};

#define FW_SCSI_ABRT_CLS_WR_SUB_OPCODE(x)
#define FW_SCSI_ABRT_CLS_WR_SUB_OPCODE_GET(x)
#define FW_SCSI_ABRT_CLS_WR_CHK_ALL_IO(x)

enum fw_cmd_stor_opcodes {};

struct fw_fcoe_res_info_cmd {};

struct fw_fcoe_link_cmd {};

#define FW_FCOE_LINK_CMD_PORTID(x)
#define FW_FCOE_LINK_CMD_PORTID_GET(x)
#define FW_FCOE_LINK_CMD_SUB_OPCODE(x)
#define FW_FCOE_LINK_CMD_FCFI(x)
#define FW_FCOE_LINK_CMD_FCFI_GET(x)
#define FW_FCOE_LINK_CMD_VNPI_GET(x)

struct fw_fcoe_vnp_cmd {};

#define FW_FCOE_VNP_CMD_FCFI(x)
#define FW_FCOE_VNP_CMD_ALLOC
#define FW_FCOE_VNP_CMD_FREE
#define FW_FCOE_VNP_CMD_MODIFY
#define FW_FCOE_VNP_CMD_GEN_WWN
#define FW_FCOE_VNP_CMD_VFID_EN
#define FW_FCOE_VNP_CMD_VNPI(x)
#define FW_FCOE_VNP_CMD_VNPI_GET(x)

struct fw_fcoe_sparams_cmd {};

#define FW_FCOE_SPARAMS_CMD_PORTID(x)

struct fw_fcoe_stats_cmd {};

#define FW_FCOE_STATS_CMD_FLOWID(x)
#define FW_FCOE_STATS_CMD_FREE
#define FW_FCOE_STATS_CMD_NSTATS(x)
#define FW_FCOE_STATS_CMD_PORT(x)
#define FW_FCOE_STATS_CMD_PORT_VALID
#define FW_FCOE_STATS_CMD_IX(x)

struct fw_fcoe_fcf_cmd {};

#define FW_FCOE_FCF_CMD_FCFI(x)
#define FW_FCOE_FCF_CMD_FCFI_GET(x)
#define FW_FCOE_FCF_CMD_PRIORITY_GET(x)
#define FW_FCOE_FCF_CMD_FPMA_GET(x)
#define FW_FCOE_FCF_CMD_SPMA_GET(x)
#define FW_FCOE_FCF_CMD_LOGIN_GET(x)
#define FW_FCOE_FCF_CMD_PORTID_GET(x)

#endif /* _T4FW_API_STOR_H_ */