|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | vals32 |
| union | u64bit |
| struct | InquiryData |
| struct | ReportLUNdata |
| struct | ReportExtendedLUNdata |
| struct | SenseSubsystem_info |
| union | SCSI3Addr |
| struct | PhysDevAddr |
| struct | LogDevAddr |
| union | LUNAddr |
| struct | CommandListHeader |
| struct | RequestBlock |
| struct | ErrDescriptor |
| struct | SGDescriptor |
| union | MoreErrInfo |
| struct | ErrorInfo |
| struct | CommandList |
| struct | HostWrite |
| struct | CfgTable |
| struct | TransTable_struct |
| struct | hpsa_pci_info |
Macros | |
| #define | SENSEINFOBYTES 32 /* may vary between hbas */ |
| #define | SG_ENTRIES_IN_CMD 32 /* Max SG entries excluding chain blocks */ |
| #define | HPSA_SG_CHAIN 0x80000000 |
| #define | MAXREPLYQS 256 |
| #define | CMD_SUCCESS 0x0000 |
| #define | CMD_TARGET_STATUS 0x0001 |
| #define | CMD_DATA_UNDERRUN 0x0002 |
| #define | CMD_DATA_OVERRUN 0x0003 |
| #define | CMD_INVALID 0x0004 |
| #define | CMD_PROTOCOL_ERR 0x0005 |
| #define | CMD_HARDWARE_ERR 0x0006 |
| #define | CMD_CONNECTION_LOST 0x0007 |
| #define | CMD_ABORTED 0x0008 |
| #define | CMD_ABORT_FAILED 0x0009 |
| #define | CMD_UNSOLICITED_ABORT 0x000A |
| #define | CMD_TIMEOUT 0x000B |
| #define | CMD_UNABORTABLE 0x000C |
| #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 | XFER_NONE 0x00 |
| #define | XFER_WRITE 0x01 |
| #define | XFER_READ 0x02 |
| #define | XFER_RSVD 0x03 |
| #define | ATTR_UNTAGGED 0x00 |
| #define | ATTR_SIMPLE 0x04 |
| #define | ATTR_HEADOFQUEUE 0x05 |
| #define | ATTR_ORDERED 0x06 |
| #define | ATTR_ACA 0x07 |
| #define | TYPE_CMD 0x00 |
| #define | TYPE_MSG 0x01 |
| #define | HPSA_TASK_MANAGEMENT 0x00 |
| #define | HPSA_RESET 0x01 |
| #define | HPSA_SCAN 0x02 |
| #define | HPSA_NOOP 0x03 |
| #define | HPSA_CTLR_RESET_TYPE 0x00 |
| #define | HPSA_BUS_RESET_TYPE 0x01 |
| #define | HPSA_TARGET_RESET_TYPE 0x03 |
| #define | HPSA_LUN_RESET_TYPE 0x04 |
| #define | HPSA_NEXUS_RESET_TYPE 0x05 |
| #define | HPSA_TMF_ABORT_TASK 0x00 |
| #define | HPSA_TMF_ABORT_TASK_SET 0x01 |
| #define | HPSA_TMF_CLEAR_ACA 0x02 |
| #define | HPSA_TMF_CLEAR_TASK_SET 0x03 |
| #define | HPSA_TMF_QUERY_TASK 0x04 |
| #define | HPSA_TMF_QUERY_TASK_SET 0x05 |
| #define | HPSA_TMF_QUERY_ASYNCEVENT 0x06 |
| #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_Trans_enable_directed_msix (1 << 30) |
| #define | CFGTBL_BusType_Ultra2 0x00000001l |
| #define | CFGTBL_BusType_Ultra3 0x00000002l |
| #define | CFGTBL_BusType_Fibre1G 0x00000100l |
| #define | CFGTBL_BusType_Fibre2G 0x00000200l |
| #define | HPSA_MAX_LUN 1024 |
| #define | HPSA_MAX_PHYS_LUN 1024 |
| #define | MAX_EXT_TARGETS 32 |
| #define | HPSA_MAX_DEVICES |
| #define | HPSA_INQUIRY 0x12 |
| #define | HPSA_REPORT_LOG 0xc2 /* Report Logical LUNs */ |
| #define | HPSA_REPORT_PHYS 0xc3 /* Report Physical LUNs */ |
| #define | BMIC_READ 0x26 |
| #define | BMIC_WRITE 0x27 |
| #define | BMIC_CACHE_FLUSH 0xc2 |
| #define | HPSA_CACHE_FLUSH 0x01 /* C2 was already being used by HPSA */ |
| #define | BMIC_FLASH_FIRMWARE 0xF7 |
| #define | CMD_IOCTL_PEND 0x01 |
| #define | CMD_SCSI 0x03 |
| #define | DIRECT_LOOKUP_SHIFT 5 |
| #define | DIRECT_LOOKUP_BIT 0x10 |
| #define | DIRECT_LOOKUP_MASK (~((1 << DIRECT_LOOKUP_SHIFT) - 1)) |
| #define | HPSA_ERROR_BIT 0x02 |
| #define | IS_32_BIT ((8 - sizeof(long))/4) |
| #define | IS_64_BIT (!IS_32_BIT) |
| #define | PAD_32 (4) |
| #define | PAD_64 (4) |
| #define | COMMANDLIST_PAD (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64) |
| #define | SIMPLE_MODE 0x02 |
| #define | PERFORMANT_MODE 0x04 |
| #define | MEMQ_MODE 0x08 |
| #define | MISC_FW_DOORBELL_RESET (0x02) |
| #define | MISC_FW_DOORBELL_RESET2 (0x010) |
| #define | NUM_BLOCKFETCH_ENTRIES 8 |
| #define | MAX_REPLY_QUEUES 8 |
| #define ASYM_ACCESS_CHANGED 0x06 |
Definition at line 65 of file hpsa_cmd.h.
| #define ATTR_ACA 0x07 |
Definition at line 79 of file hpsa_cmd.h.
| #define ATTR_HEADOFQUEUE 0x05 |
Definition at line 77 of file hpsa_cmd.h.
| #define ATTR_ORDERED 0x06 |
Definition at line 78 of file hpsa_cmd.h.
| #define ATTR_SIMPLE 0x04 |
Definition at line 76 of file hpsa_cmd.h.
| #define ATTR_UNTAGGED 0x00 |
Definition at line 75 of file hpsa_cmd.h.
| #define BMIC_CACHE_FLUSH 0xc2 |
Definition at line 187 of file hpsa_cmd.h.
| #define BMIC_FLASH_FIRMWARE 0xF7 |
Definition at line 189 of file hpsa_cmd.h.
| #define BMIC_READ 0x26 |
Definition at line 185 of file hpsa_cmd.h.
| #define BMIC_WRITE 0x27 |
Definition at line 186 of file hpsa_cmd.h.
| #define CFG_DEVICEID 0x02 |
Definition at line 110 of file hpsa_cmd.h.
| #define CFG_I2OBAR 0x10 |
Definition at line 111 of file hpsa_cmd.h.
| #define CFG_MEM1BAR 0x14 |
Definition at line 112 of file hpsa_cmd.h.
| #define CFG_VENDORID 0x00 |
Definition at line 109 of file hpsa_cmd.h.
| #define CFGTBL_AccCmds 0x00000001l |
Definition at line 125 of file hpsa_cmd.h.
| #define CFGTBL_BusType_Fibre1G 0x00000100l |
Definition at line 136 of file hpsa_cmd.h.
| #define CFGTBL_BusType_Fibre2G 0x00000200l |
Definition at line 137 of file hpsa_cmd.h.
| #define CFGTBL_BusType_Ultra2 0x00000001l |
Definition at line 134 of file hpsa_cmd.h.
| #define CFGTBL_BusType_Ultra3 0x00000002l |
Definition at line 135 of file hpsa_cmd.h.
| #define CFGTBL_ChangeReq 0x00000001l |
Definition at line 124 of file hpsa_cmd.h.
| #define CFGTBL_Trans_enable_directed_msix (1 << 30) |
Definition at line 132 of file hpsa_cmd.h.
| #define CFGTBL_Trans_Performant 0x00000004l |
Definition at line 130 of file hpsa_cmd.h.
| #define CFGTBL_Trans_Simple 0x00000002l |
Definition at line 129 of file hpsa_cmd.h.
| #define CFGTBL_Trans_use_short_tags 0x20000000l |
Definition at line 131 of file hpsa_cmd.h.
| #define CMD_ABORT_FAILED 0x0009 |
Definition at line 40 of file hpsa_cmd.h.
| #define CMD_ABORTED 0x0008 |
Definition at line 39 of file hpsa_cmd.h.
| #define CMD_CONNECTION_LOST 0x0007 |
Definition at line 38 of file hpsa_cmd.h.
| #define CMD_DATA_OVERRUN 0x0003 |
Definition at line 34 of file hpsa_cmd.h.
| #define CMD_DATA_UNDERRUN 0x0002 |
Definition at line 33 of file hpsa_cmd.h.
| #define CMD_HARDWARE_ERR 0x0006 |
Definition at line 37 of file hpsa_cmd.h.
| #define CMD_INVALID 0x0004 |
Definition at line 35 of file hpsa_cmd.h.
| #define CMD_IOCTL_PEND 0x01 |
Definition at line 284 of file hpsa_cmd.h.
| #define CMD_PROTOCOL_ERR 0x0005 |
Definition at line 36 of file hpsa_cmd.h.
| #define CMD_SCSI 0x03 |
Definition at line 285 of file hpsa_cmd.h.
| #define CMD_SUCCESS 0x0000 |
Definition at line 31 of file hpsa_cmd.h.
| #define CMD_TARGET_STATUS 0x0001 |
Definition at line 32 of file hpsa_cmd.h.
| #define CMD_TIMEOUT 0x000B |
Definition at line 42 of file hpsa_cmd.h.
| #define CMD_UNABORTABLE 0x000C |
Definition at line 43 of file hpsa_cmd.h.
| #define CMD_UNSOLICITED_ABORT 0x000A |
Definition at line 41 of file hpsa_cmd.h.
Definition at line 332 of file hpsa_cmd.h.
| #define CONTROLLER_FAILOVER 0x04 |
Definition at line 59 of file hpsa_cmd.h.
| #define DIRECT_LOOKUP_BIT 0x10 |
Definition at line 288 of file hpsa_cmd.h.
| #define DIRECT_LOOKUP_MASK (~((1 << DIRECT_LOOKUP_SHIFT) - 1)) |
Definition at line 289 of file hpsa_cmd.h.
| #define DIRECT_LOOKUP_SHIFT 5 |
Definition at line 287 of file hpsa_cmd.h.
| #define DOORBELL_CTLR_RESET 0x00000004l |
Definition at line 126 of file hpsa_cmd.h.
| #define DOORBELL_CTLR_RESET2 0x00000020l |
Definition at line 127 of file hpsa_cmd.h.
| #define HPSA_BUS_RESET_TYPE 0x01 |
Definition at line 92 of file hpsa_cmd.h.
| #define HPSA_CACHE_FLUSH 0x01 /* C2 was already being used by HPSA */ |
Definition at line 188 of file hpsa_cmd.h.
| #define HPSA_CTLR_RESET_TYPE 0x00 |
Definition at line 91 of file hpsa_cmd.h.
| #define HPSA_ERROR_BIT 0x02 |
Definition at line 291 of file hpsa_cmd.h.
| #define HPSA_INQUIRY 0x12 |
Definition at line 158 of file hpsa_cmd.h.
| #define HPSA_LUN_RESET_TYPE 0x04 |
Definition at line 94 of file hpsa_cmd.h.
| #define HPSA_MAX_DEVICES |
Definition at line 152 of file hpsa_cmd.h.
| #define HPSA_MAX_LUN 1024 |
Definition at line 149 of file hpsa_cmd.h.
| #define HPSA_MAX_PHYS_LUN 1024 |
Definition at line 150 of file hpsa_cmd.h.
| #define HPSA_NEXUS_RESET_TYPE 0x05 |
Definition at line 95 of file hpsa_cmd.h.
| #define HPSA_NOOP 0x03 |
Definition at line 89 of file hpsa_cmd.h.
| #define HPSA_REPORT_LOG 0xc2 /* Report Logical LUNs */ |
Definition at line 163 of file hpsa_cmd.h.
| #define HPSA_REPORT_PHYS 0xc3 /* Report Physical LUNs */ |
Definition at line 164 of file hpsa_cmd.h.
| #define HPSA_RESET 0x01 |
Definition at line 87 of file hpsa_cmd.h.
| #define HPSA_SCAN 0x02 |
Definition at line 88 of file hpsa_cmd.h.
| #define HPSA_SG_CHAIN 0x80000000 |
Definition at line 27 of file hpsa_cmd.h.
| #define HPSA_TARGET_RESET_TYPE 0x03 |
Definition at line 93 of file hpsa_cmd.h.
| #define HPSA_TASK_MANAGEMENT 0x00 |
Definition at line 86 of file hpsa_cmd.h.
| #define HPSA_TMF_ABORT_TASK 0x00 |
Definition at line 98 of file hpsa_cmd.h.
| #define HPSA_TMF_ABORT_TASK_SET 0x01 |
Definition at line 99 of file hpsa_cmd.h.
| #define HPSA_TMF_CLEAR_ACA 0x02 |
Definition at line 100 of file hpsa_cmd.h.
| #define HPSA_TMF_CLEAR_TASK_SET 0x03 |
Definition at line 101 of file hpsa_cmd.h.
| #define HPSA_TMF_QUERY_ASYNCEVENT 0x06 |
Definition at line 104 of file hpsa_cmd.h.
| #define HPSA_TMF_QUERY_TASK 0x04 |
Definition at line 102 of file hpsa_cmd.h.
| #define HPSA_TMF_QUERY_TASK_SET 0x05 |
Definition at line 103 of file hpsa_cmd.h.
| #define I2O_DMA1_CFG 0x214 |
Definition at line 121 of file hpsa_cmd.h.
| #define I2O_IBDB_CLEAR 0x70 |
Definition at line 116 of file hpsa_cmd.h.
| #define I2O_IBDB_SET 0x20 |
Definition at line 115 of file hpsa_cmd.h.
| #define I2O_IBPOST_Q 0x40 |
Definition at line 119 of file hpsa_cmd.h.
| #define I2O_INT_MASK 0x34 |
Definition at line 118 of file hpsa_cmd.h.
| #define I2O_INT_STATUS 0x30 |
Definition at line 117 of file hpsa_cmd.h.
| #define I2O_OBPOST_Q 0x44 |
Definition at line 120 of file hpsa_cmd.h.
Definition at line 328 of file hpsa_cmd.h.
| #define IS_64_BIT (!IS_32_BIT) |
Definition at line 329 of file hpsa_cmd.h.
| #define LUN_CAPACITY_CHANGED 0x09 |
Definition at line 66 of file hpsa_cmd.h.
| #define LUN_FAILED 0x3e |
Definition at line 49 of file hpsa_cmd.h.
| #define MAX_EXT_TARGETS 32 |
Definition at line 151 of file hpsa_cmd.h.
| #define MAX_REPLY_QUEUES 8 |
Definition at line 385 of file hpsa_cmd.h.
| #define MAXREPLYQS 256 |
Definition at line 28 of file hpsa_cmd.h.
| #define MEMQ_MODE 0x08 |
Definition at line 346 of file hpsa_cmd.h.
| #define MISC_FW_DOORBELL_RESET (0x02) |
Definition at line 372 of file hpsa_cmd.h.
| #define MISC_FW_DOORBELL_RESET2 (0x010) |
Definition at line 373 of file hpsa_cmd.h.
| #define MSA_TARGET_RESET 0x03 |
Definition at line 58 of file hpsa_cmd.h.
| #define NUM_BLOCKFETCH_ENTRIES 8 |
Definition at line 378 of file hpsa_cmd.h.
| #define PAD_32 (4) |
Definition at line 330 of file hpsa_cmd.h.
| #define PAD_64 (4) |
Definition at line 331 of file hpsa_cmd.h.
| #define PERFORMANT_MODE 0x04 |
Definition at line 345 of file hpsa_cmd.h.
| #define POWER_ON_REBOOT 0x01 |
Definition at line 56 of file hpsa_cmd.h.
| #define POWER_ON_RESET 0x00 |
Definition at line 55 of file hpsa_cmd.h.
| #define POWER_OR_RESET 0x29 |
Definition at line 46 of file hpsa_cmd.h.
| #define REPORT_LUNS_CHANGED 0x3f |
Definition at line 50 of file hpsa_cmd.h.
| #define RESERVATION_PREEMPTED 0x03 |
Definition at line 64 of file hpsa_cmd.h.
| #define SCSI_BUS_RESET 0x02 |
Definition at line 57 of file hpsa_cmd.h.
| #define SENSEINFOBYTES 32 /* may vary between hbas */ |
Definition at line 25 of file hpsa_cmd.h.
Definition at line 26 of file hpsa_cmd.h.
| #define SIMPLE_MODE 0x02 |
Definition at line 344 of file hpsa_cmd.h.
| #define STATE_CHANGED 0x2a |
Definition at line 47 of file hpsa_cmd.h.
| #define TRANSCEIVER_LVD 0x06 |
Definition at line 61 of file hpsa_cmd.h.
| #define TRANSCEIVER_SE 0x05 |
Definition at line 60 of file hpsa_cmd.h.
| #define TYPE_CMD 0x00 |
Definition at line 82 of file hpsa_cmd.h.
| #define TYPE_MSG 0x01 |
Definition at line 83 of file hpsa_cmd.h.
| #define UNIT_ATTENTION_CLEARED 0x2f |
Definition at line 48 of file hpsa_cmd.h.
| #define XFER_NONE 0x00 |
Definition at line 69 of file hpsa_cmd.h.
| #define XFER_READ 0x02 |
Definition at line 71 of file hpsa_cmd.h.
| #define XFER_RSVD 0x03 |
Definition at line 72 of file hpsa_cmd.h.
| #define XFER_WRITE 0x01 |
Definition at line 70 of file hpsa_cmd.h.
1.8.2