linux/drivers/scsi/lpfc/lpfc_scsi.h

/*******************************************************************
 * This file is part of the Emulex Linux Device Driver for         *
 * Fibre Channel Host Bus Adapters.                                *
 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term *
 * “Broadcom” refers to Broadcom Inc and/or its subsidiaries.  *
 * Copyright (C) 2004-2016 Emulex.  All rights reserved.           *
 * EMULEX and SLI are trademarks of Emulex.                        *
 * www.broadcom.com                                                *
 *                                                                 *
 * This program is free software; you can redistribute it and/or   *
 * modify it under the terms of version 2 of the GNU General       *
 * Public License as published by the Free Software Foundation.    *
 * This program is distributed in the hope that it will be useful. *
 * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
 * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
 * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
 * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
 * more details, a copy of which can be found in the file COPYING  *
 * included with this package.                                     *
 *******************************************************************/

#include <asm/byteorder.h>

struct lpfc_hba;
#define LPFC_FCP_CDB_LEN
#define LPFC_FCP_CDB_LEN_32

#define list_remove_head(list, entry, type, member)

#define list_get_first(list, type, member)

/* per-port data that is allocated in the FC transport for us */
struct lpfc_rport_data {};

struct lpfc_device_id {};

struct lpfc_device_data {};

struct fcp_rsp {};

#define SIMPLE_Q
#define HEAD_OF_Q
#define ORDERED_Q
#define ACA_Q
#define UNTAGGED
#define FCP_ABORT_TASK_SET
#define FCP_CLEAR_TASK_SET
#define FCP_BUS_RESET
#define FCP_LUN_RESET
#define FCP_TARGET_RESET
#define FCP_CLEAR_ACA
#define FCP_TERMINATE_TASK
#define WRITE_DATA
#define READ_DATA

struct fcp_cmnd {};
struct fcp_cmnd32 {};

#define LPFC_SCSI_DMA_EXT_SIZE
#define LPFC_BPL_SIZE
#define MDAC_DIRECT_CMD

#define FIND_FIRST_OAS_LUN
#define NO_MORE_OAS_LUN
#define NOT_OAS_ENABLED_LUN

#ifndef FC_PORTSPEED_128GBIT
#define FC_PORTSPEED_128GBIT
#endif

#ifndef FC_PORTSPEED_256GBIT
#define FC_PORTSPEED_256GBIT
#endif

#define TXRDY_PAYLOAD_LEN

/* For sysfs/debugfs tmp string max len */
#define LPFC_MAX_SCSI_INFO_TMP_LEN