linux/drivers/scsi/elx/efct/efct_driver.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2021 Broadcom. All Rights Reserved. The term
 * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
 */

#if !defined(__EFCT_DRIVER_H__)
#define __EFCT_DRIVER_H__

/***************************************************************************
 * OS specific includes
 */
#include <linux/module.h>
#include <linux/debugfs.h>
#include <linux/firmware.h>
#include "../include/efc_common.h"
#include "../libefc/efclib.h"
#include "efct_hw.h"
#include "efct_io.h"
#include "efct_xport.h"

#define EFCT_DRIVER_NAME
#define EFCT_DRIVER_VERSION

/* EFCT_DEFAULT_FILTER-
 * MRQ filter to segregate the IO flow.
 */
#define EFCT_DEFAULT_FILTER

/* EFCT_OS_MAX_ISR_TIME_MSEC -
 * maximum time driver code should spend in an interrupt
 * or kernel thread context without yielding
 */
#define EFCT_OS_MAX_ISR_TIME_MSEC

#define EFCT_FC_MAX_SGL
#define EFCT_FC_DIF_SEED

/* Watermark */
#define EFCT_WATERMARK_HIGH_PCT
#define EFCT_WATERMARK_LOW_PCT
#define EFCT_IO_WATERMARK_PER_INITIATOR

#define EFCT_PCI_MAX_REGS
#define MAX_PCI_INTERRUPTS

struct efct_intr_context {};

struct efct {};

#define FW_WRITE_BUFSIZE

struct efct_fw_write_result {};

extern struct list_head			efct_devices;

#endif /* __EFCT_DRIVER_H__ */