/*
*
* Solaris MegaRAID device driver for SAS2.0 controllers
* Copyright (c) 2008-2012, LSI Logic Corporation.
* All rights reserved.
*
* Version:
* Author:
* Swaminathan K S
* Arun Chandrashekhar
* Manju R
* Rasheed
* Shakeel Bukhari
*/
#ifndef _LD_PD_MAP
#define _LD_PD_MAP
#include "fusion.h"
struct mrsas_instance; /* This will be defined in mr_sas.h */
/* raid->write_mode; raid->read_ahead; dcmd->state */
/* Write through */
#define WRITE_THROUGH 0
/* Delayed Write */
/* SCSI CDB definitions */
/* maximum disks per array */
/* maximum spans per logical drive */
union desc_value {
struct {
} u1;
};
typedef struct _LD_LOAD_BALANCE_INFO
{
#pragma pack(1)
typedef struct _MR_FW_RAID_MAP_ALL {
/*
* Raid Context structure which describes MegaRAID specific IO Parameters
* This resides at offset 0x60 where the SGL normally starts in MPT IO Frames
*/
typedef struct _MPI2_SCSI_IO_VENDOR_UNIQUE {
/* resvd[3:1], preferredCpu[0] */
#define RAID_CTX_SPANARM_ARM_SHIFT (0)
/*
* RAID SCSI IO Request Message
* Total SGE count will be one less
* than _MPI2_SCSI_IO_REQUEST
*/
typedef struct _MPI2_RAID_SCSI_IO_REQUEST
{
/*
* define region lock types
*/
typedef enum _REGION_TYPE {
} REGION_TYPE;
#define DM_PATH_FIRSTPATH 0
/* declare valid Region locking values */
typedef enum _REGION_LOCK {
REGION_LOCK_BYPASS = 0,
/* for RAID 6 single-drive failure */
} REGION_LOCK;
struct mrsas_init_frame2 {
};
/*
* Request descriptor types
*/
/*
* MPT RAID MFA IO Descriptor.
*/
typedef struct _MR_RAID_MFA_IO_DESCRIPTOR {
/* union of Request Descriptors */
typedef union _MRSAS_REQUEST_DESCRIPTOR_UNION
{
#pragma pack()
enum {
};
#endif /* _LD_PD_MAP */