linux/drivers/scsi/qla4xxx/ql4_bsg.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * QLogic iSCSI HBA Driver
 * Copyright (c) 2011 QLogic Corporation
 */
#ifndef __QL4_BSG_H
#define __QL4_BSG_H

/* BSG Vendor specific commands */
#define QLISCSI_VND_READ_FLASH
#define QLISCSI_VND_UPDATE_FLASH
#define QLISCSI_VND_GET_ACB_STATE
#define QLISCSI_VND_READ_NVRAM
#define QLISCSI_VND_UPDATE_NVRAM
#define QLISCSI_VND_RESTORE_DEFAULTS
#define QLISCSI_VND_GET_ACB
#define QLISCSI_VND_DIAG_TEST

/* QLISCSI_VND_DIAG_CMD sub code */
#define QL_DIAG_CMD_TEST_DDR_SIZE
#define QL_DIAG_CMD_TEST_DDR_RW
#define QL_DIAG_CMD_TEST_ONCHIP_MEM_RW
#define QL_DIAG_CMD_TEST_NVRAM
#define QL_DIAG_CMD_TEST_FLASH_ROM
#define QL_DIAG_CMD_TEST_INT_LOOPBACK
#define QL_DIAG_CMD_TEST_EXT_LOOPBACK
#define QL_DIAG_CMD_TEST_DMA_XFER
#define QL_DIAG_CMD_SELF_DDR_RW
#define QL_DIAG_CMD_SELF_ONCHIP_MEM_RW

#endif