Linux Kernel
3.7.1
|
#include <linux/cciss_defs.h>
Go to the source code of this file.
Data Structures | |
struct | _vals32 |
union | _u64bit |
struct | _InquiryData_struct |
struct | _ReportLUNdata_struct |
struct | _ReadCapdata_struct |
struct | _ReadCapdata_struct_16 |
struct | _CommandListHeader_struct |
struct | _ErrDescriptor_struct |
struct | _SGDescriptor_struct |
struct | _CommandList_struct |
struct | _HostWrite_struct |
struct | _CfgTable_struct |
struct | TransTable_struct |
Macros | |
#define | CISS_VERSION "1.00" |
#define | MAXSGENTRIES 32 |
#define | CCISS_SG_CHAIN 0x80000000 |
#define | MAXREPLYQS 256 |
#define | POWER_OR_RESET 0x29 |
#define | STATE_CHANGED 0x2a |
#define | UNIT_ATTENTION_CLEARED 0x2f |
#define | LUN_FAILED 0x3e |
#define | REPORT_LUNS_CHANGED 0x3f |
#define | POWER_ON_RESET 0x00 |
#define | POWER_ON_REBOOT 0x01 |
#define | SCSI_BUS_RESET 0x02 |
#define | MSA_TARGET_RESET 0x03 |
#define | CONTROLLER_FAILOVER 0x04 |
#define | TRANSCEIVER_SE 0x05 |
#define | TRANSCEIVER_LVD 0x06 |
#define | RESERVATION_PREEMPTED 0x03 |
#define | ASYM_ACCESS_CHANGED 0x06 |
#define | LUN_CAPACITY_CHANGED 0x09 |
#define | CFG_VENDORID 0x00 |
#define | CFG_DEVICEID 0x02 |
#define | CFG_I2OBAR 0x10 |
#define | CFG_MEM1BAR 0x14 |
#define | I2O_IBDB_SET 0x20 |
#define | I2O_IBDB_CLEAR 0x70 |
#define | I2O_INT_STATUS 0x30 |
#define | I2O_INT_MASK 0x34 |
#define | I2O_IBPOST_Q 0x40 |
#define | I2O_OBPOST_Q 0x44 |
#define | I2O_DMA1_CFG 0x214 |
#define | CFGTBL_ChangeReq 0x00000001l |
#define | CFGTBL_AccCmds 0x00000001l |
#define | DOORBELL_CTLR_RESET 0x00000004l |
#define | DOORBELL_CTLR_RESET2 0x00000020l |
#define | CFGTBL_Trans_Simple 0x00000002l |
#define | CFGTBL_Trans_Performant 0x00000004l |
#define | CFGTBL_Trans_use_short_tags 0x20000000l |
#define | CFGTBL_BusType_Ultra2 0x00000001l |
#define | CFGTBL_BusType_Ultra3 0x00000002l |
#define | CFGTBL_BusType_Fibre1G 0x00000100l |
#define | CFGTBL_BusType_Fibre2G 0x00000200l |
#define | QWORD vals32 |
#define | CISS_MAX_PHYS_LUN 1024 |
#define | CISS_INQUIRY 0x12 |
#define | CISS_REPORT_LOG 0xc2 /* Report Logical LUNs */ |
#define | CISS_REPORT_PHYS 0xc3 /* Report Physical LUNs */ |
#define | CCISS_READ_CAPACITY 0x25 /* Read Capacity */ |
#define | CCISS_READ_CAPACITY_16 0x9e /* Read Capacity 16 */ |
#define | CCISS_READ_CAPACITY_16_SERVICE_ACT 0x10 |
#define | CCISS_READ_10 0x28 /* Read(10) */ |
#define | CCISS_WRITE_10 0x2a /* Write(10) */ |
#define | CCISS_READ_16 0x88 /* Read(16) */ |
#define | CCISS_WRITE_16 0x8a /* Write(16) */ |
#define | CDB_LEN10 10 |
#define | CDB_LEN16 16 |
#define | BMIC_READ 0x26 |
#define | BMIC_WRITE 0x27 |
#define | BMIC_CACHE_FLUSH 0xc2 |
#define | CCISS_CACHE_FLUSH 0x01 /* C2 was already being used by CCISS */ |
#define | CCISS_ABORT_MSG 0x00 |
#define | CCISS_RESET_MSG 0x01 |
#define | CCISS_RESET_TYPE_CONTROLLER 0x00 |
#define | CCISS_RESET_TYPE_BUS 0x01 |
#define | CCISS_RESET_TYPE_TARGET 0x03 |
#define | CCISS_RESET_TYPE_LUN 0x04 |
#define | CCISS_NOOP_MSG 0x03 |
#define | CTLR_LUNID "\0\0\0\0\0\0\0\0" |
#define | CMD_RWREQ 0x00 |
#define | CMD_IOCTL_PEND 0x01 |
#define | CMD_SCSI 0x03 |
#define | CMD_MSG_DONE 0x04 |
#define | CMD_MSG_TIMEOUT 0x05 |
#define | CMD_MSG_STALE 0xff |
#define | COMMANDLIST_ALIGNMENT (32) |
#define | IS_64_BIT ((sizeof(long) - 4)/4) |
#define | IS_32_BIT (!IS_64_BIT) |
#define | PAD_32 (0) |
#define | PAD_64 (4) |
#define | PADSIZE (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64) |
#define | DIRECT_LOOKUP_BIT 0x10 |
#define | DIRECT_LOOKUP_SHIFT 5 |
#define | SIMPLE_MODE 0x02 |
#define | PERFORMANT_MODE 0x04 |
#define | MEMQ_MODE 0x08 |
#define | MISC_FW_DOORBELL_RESET (0x02) |
#define | MISC_FW_DOORBELL_RESET2 (0x10) |
Typedefs | |
typedef struct _vals32 | vals32 |
typedef union _u64bit | u64bit |
typedef struct _InquiryData_struct | InquiryData_struct |
typedef struct _ReportLUNdata_struct | ReportLunData_struct |
typedef struct _ReadCapdata_struct | ReadCapdata_struct |
typedef struct _ReadCapdata_struct_16 | ReadCapdata_struct_16 |
typedef struct _CommandListHeader_struct | CommandListHeader_struct |
typedef struct _ErrDescriptor_struct | ErrDescriptor_struct |
typedef struct _SGDescriptor_struct | SGDescriptor_struct |
typedef struct _CommandList_struct | CommandList_struct |
typedef struct _HostWrite_struct | HostWrite_struct |
typedef struct _CfgTable_struct | CfgTable_struct |
#define ASYM_ACCESS_CHANGED 0x06 |
Definition at line 34 of file cciss_cmd.h.
#define BMIC_CACHE_FLUSH 0xc2 |
Definition at line 143 of file cciss_cmd.h.
#define BMIC_READ 0x26 |
Definition at line 141 of file cciss_cmd.h.
#define BMIC_WRITE 0x27 |
Definition at line 142 of file cciss_cmd.h.
#define CCISS_ABORT_MSG 0x00 |
Definition at line 146 of file cciss_cmd.h.
#define CCISS_CACHE_FLUSH 0x01 /* C2 was already being used by CCISS */ |
Definition at line 144 of file cciss_cmd.h.
#define CCISS_NOOP_MSG 0x03 |
Definition at line 152 of file cciss_cmd.h.
#define CCISS_READ_10 0x28 /* Read(10) */ |
Definition at line 130 of file cciss_cmd.h.
#define CCISS_READ_16 0x88 /* Read(16) */ |
Definition at line 132 of file cciss_cmd.h.
#define CCISS_READ_CAPACITY 0x25 /* Read Capacity */ |
Definition at line 104 of file cciss_cmd.h.
#define CCISS_READ_CAPACITY_16 0x9e /* Read Capacity 16 */ |
Definition at line 111 of file cciss_cmd.h.
#define CCISS_READ_CAPACITY_16_SERVICE_ACT 0x10 |
Definition at line 116 of file cciss_cmd.h.
#define CCISS_RESET_MSG 0x01 |
Definition at line 147 of file cciss_cmd.h.
#define CCISS_RESET_TYPE_BUS 0x01 |
Definition at line 149 of file cciss_cmd.h.
#define CCISS_RESET_TYPE_CONTROLLER 0x00 |
Definition at line 148 of file cciss_cmd.h.
#define CCISS_RESET_TYPE_LUN 0x04 |
Definition at line 151 of file cciss_cmd.h.
#define CCISS_RESET_TYPE_TARGET 0x03 |
Definition at line 150 of file cciss_cmd.h.
#define CCISS_SG_CHAIN 0x80000000 |
Definition at line 11 of file cciss_cmd.h.
#define CCISS_WRITE_10 0x2a /* Write(10) */ |
Definition at line 131 of file cciss_cmd.h.
#define CCISS_WRITE_16 0x8a /* Write(16) */ |
Definition at line 133 of file cciss_cmd.h.
#define CDB_LEN10 10 |
Definition at line 137 of file cciss_cmd.h.
#define CDB_LEN16 16 |
Definition at line 138 of file cciss_cmd.h.
#define CFG_DEVICEID 0x02 |
Definition at line 39 of file cciss_cmd.h.
#define CFG_I2OBAR 0x10 |
Definition at line 40 of file cciss_cmd.h.
#define CFG_MEM1BAR 0x14 |
Definition at line 41 of file cciss_cmd.h.
#define CFG_VENDORID 0x00 |
Definition at line 38 of file cciss_cmd.h.
#define CFGTBL_AccCmds 0x00000001l |
Definition at line 54 of file cciss_cmd.h.
#define CFGTBL_BusType_Fibre1G 0x00000100l |
Definition at line 64 of file cciss_cmd.h.
#define CFGTBL_BusType_Fibre2G 0x00000200l |
Definition at line 65 of file cciss_cmd.h.
#define CFGTBL_BusType_Ultra2 0x00000001l |
Definition at line 62 of file cciss_cmd.h.
#define CFGTBL_BusType_Ultra3 0x00000002l |
Definition at line 63 of file cciss_cmd.h.
#define CFGTBL_ChangeReq 0x00000001l |
Definition at line 53 of file cciss_cmd.h.
#define CFGTBL_Trans_Performant 0x00000004l |
Definition at line 59 of file cciss_cmd.h.
#define CFGTBL_Trans_Simple 0x00000002l |
Definition at line 58 of file cciss_cmd.h.
#define CFGTBL_Trans_use_short_tags 0x20000000l |
Definition at line 60 of file cciss_cmd.h.
#define CISS_INQUIRY 0x12 |
Definition at line 87 of file cciss_cmd.h.
#define CISS_MAX_PHYS_LUN 1024 |
Definition at line 82 of file cciss_cmd.h.
#define CISS_REPORT_LOG 0xc2 /* Report Logical LUNs */ |
Definition at line 94 of file cciss_cmd.h.
#define CISS_REPORT_PHYS 0xc3 /* Report Physical LUNs */ |
Definition at line 95 of file cciss_cmd.h.
#define CISS_VERSION "1.00" |
Definition at line 7 of file cciss_cmd.h.
#define CMD_IOCTL_PEND 0x01 |
Definition at line 176 of file cciss_cmd.h.
#define CMD_MSG_DONE 0x04 |
Definition at line 178 of file cciss_cmd.h.
#define CMD_MSG_STALE 0xff |
Definition at line 180 of file cciss_cmd.h.
#define CMD_MSG_TIMEOUT 0x05 |
Definition at line 179 of file cciss_cmd.h.
#define CMD_RWREQ 0x00 |
Definition at line 175 of file cciss_cmd.h.
#define CMD_SCSI 0x03 |
Definition at line 177 of file cciss_cmd.h.
#define COMMANDLIST_ALIGNMENT (32) |
Definition at line 188 of file cciss_cmd.h.
#define CONTROLLER_FAILOVER 0x04 |
Definition at line 28 of file cciss_cmd.h.
#define CTLR_LUNID "\0\0\0\0\0\0\0\0" |
Definition at line 155 of file cciss_cmd.h.
#define DIRECT_LOOKUP_BIT 0x10 |
Definition at line 194 of file cciss_cmd.h.
#define DIRECT_LOOKUP_SHIFT 5 |
Definition at line 195 of file cciss_cmd.h.
#define DOORBELL_CTLR_RESET 0x00000004l |
Definition at line 55 of file cciss_cmd.h.
#define DOORBELL_CTLR_RESET2 0x00000020l |
Definition at line 56 of file cciss_cmd.h.
#define I2O_DMA1_CFG 0x214 |
Definition at line 50 of file cciss_cmd.h.
#define I2O_IBDB_CLEAR 0x70 |
Definition at line 45 of file cciss_cmd.h.
#define I2O_IBDB_SET 0x20 |
Definition at line 44 of file cciss_cmd.h.
#define I2O_IBPOST_Q 0x40 |
Definition at line 48 of file cciss_cmd.h.
#define I2O_INT_MASK 0x34 |
Definition at line 47 of file cciss_cmd.h.
#define I2O_INT_STATUS 0x30 |
Definition at line 46 of file cciss_cmd.h.
#define I2O_OBPOST_Q 0x44 |
Definition at line 49 of file cciss_cmd.h.
#define IS_32_BIT (!IS_64_BIT) |
Definition at line 190 of file cciss_cmd.h.
Definition at line 189 of file cciss_cmd.h.
#define LUN_CAPACITY_CHANGED 0x09 |
Definition at line 35 of file cciss_cmd.h.
#define LUN_FAILED 0x3e |
Definition at line 18 of file cciss_cmd.h.
#define MAXREPLYQS 256 |
Definition at line 12 of file cciss_cmd.h.
#define MAXSGENTRIES 32 |
Definition at line 10 of file cciss_cmd.h.
#define MEMQ_MODE 0x08 |
Definition at line 229 of file cciss_cmd.h.
#define MISC_FW_DOORBELL_RESET (0x02) |
Definition at line 246 of file cciss_cmd.h.
#define MISC_FW_DOORBELL_RESET2 (0x10) |
Definition at line 247 of file cciss_cmd.h.
#define MSA_TARGET_RESET 0x03 |
Definition at line 27 of file cciss_cmd.h.
#define PAD_32 (0) |
Definition at line 191 of file cciss_cmd.h.
#define PAD_64 (4) |
Definition at line 192 of file cciss_cmd.h.
Definition at line 193 of file cciss_cmd.h.
#define PERFORMANT_MODE 0x04 |
Definition at line 228 of file cciss_cmd.h.
#define POWER_ON_REBOOT 0x01 |
Definition at line 25 of file cciss_cmd.h.
#define POWER_ON_RESET 0x00 |
Definition at line 24 of file cciss_cmd.h.
#define POWER_OR_RESET 0x29 |
Definition at line 15 of file cciss_cmd.h.
Definition at line 79 of file cciss_cmd.h.
#define REPORT_LUNS_CHANGED 0x3f |
Definition at line 19 of file cciss_cmd.h.
#define RESERVATION_PREEMPTED 0x03 |
Definition at line 33 of file cciss_cmd.h.
#define SCSI_BUS_RESET 0x02 |
Definition at line 26 of file cciss_cmd.h.
#define SIMPLE_MODE 0x02 |
Definition at line 227 of file cciss_cmd.h.
#define STATE_CHANGED 0x2a |
Definition at line 16 of file cciss_cmd.h.
#define TRANSCEIVER_LVD 0x06 |
Definition at line 30 of file cciss_cmd.h.
#define TRANSCEIVER_SE 0x05 |
Definition at line 29 of file cciss_cmd.h.
#define UNIT_ATTENTION_CLEARED 0x2f |
Definition at line 17 of file cciss_cmd.h.
typedef struct _CfgTable_struct CfgTable_struct |
typedef struct _HostWrite_struct HostWrite_struct |