|
#define | dprintk(x) |
|
#define | _nblank(x) #x |
|
#define | nblank(x) _nblank(x)[0] |
|
#define | AAC_DRIVER_BUILD 29800 |
|
#define | AAC_DRIVER_BRANCH "-ms" |
|
#define | MAXIMUM_NUM_CONTAINERS 32 |
|
#define | AAC_NUM_MGT_FIB 8 |
|
#define | AAC_NUM_IO_FIB (512 - AAC_NUM_MGT_FIB) |
|
#define | AAC_NUM_FIB (AAC_NUM_IO_FIB + AAC_NUM_MGT_FIB) |
|
#define | AAC_MAX_LUN (8) |
|
#define | AAC_MAX_HOSTPHYSMEMPAGES (0xfffff) |
|
#define | AAC_MAX_32BIT_SGBCOUNT ((unsigned short)256) |
|
#define | AAC_DEBUG_INSTRUMENT_AIF_DELETE |
|
#define | CONTAINER_CHANNEL (0) |
|
#define | CONTAINER_TO_CHANNEL(cont) (CONTAINER_CHANNEL) |
|
#define | CONTAINER_TO_ID(cont) (cont) |
|
#define | CONTAINER_TO_LUN(cont) (0) |
|
#define | aac_phys_to_logical(x) ((x)+1) |
|
#define | aac_logical_to_phys(x) ((x)?(x)-1:0) |
|
#define | CT_NONE 0 |
|
#define | CT_OK 218 |
|
#define | FT_FILESYS 8 /* ADAPTEC's "FSA"(tm) filesystem */ |
|
#define | FT_DRIVE 9 /* physical disk - addressable in scsi by bus/id/lun */ |
|
#define | NUMBER_OF_COMM_QUEUES 8 |
|
#define | HOST_HIGH_CMD_ENTRIES 4 |
|
#define | HOST_NORM_CMD_ENTRIES 8 |
|
#define | ADAP_HIGH_CMD_ENTRIES 4 |
|
#define | ADAP_NORM_CMD_ENTRIES 512 |
|
#define | HOST_HIGH_RESP_ENTRIES 4 |
|
#define | HOST_NORM_RESP_ENTRIES 512 |
|
#define | ADAP_HIGH_RESP_ENTRIES 4 |
|
#define | ADAP_NORM_RESP_ENTRIES 8 |
|
#define | TOTAL_QUEUE_ENTRIES |
|
#define | QUEUE_ALIGNMENT 16 |
|
#define | HostNormCmdQue 1 /* Change in host normal priority command queue */ |
|
#define | HostHighCmdQue 2 /* Change in host high priority command queue */ |
|
#define | HostNormRespQue 3 /* Change in host normal priority response queue */ |
|
#define | HostHighRespQue 4 /* Change in host high priority response queue */ |
|
#define | AdapNormRespNotFull 5 |
|
#define | AdapHighRespNotFull 6 |
|
#define | AdapNormCmdNotFull 7 |
|
#define | AdapHighCmdNotFull 8 |
|
#define | SynchCommandComplete 9 |
|
#define | AdapInternalError 0xfe /* The adapter detected an internal error shutting down */ |
|
#define | AdapNormCmdQue 2 |
|
#define | AdapHighCmdQue 3 |
|
#define | AdapNormRespQue 6 |
|
#define | AdapHighRespQue 7 |
|
#define | HostShutdown 8 |
|
#define | HostPowerFail 9 |
|
#define | FatalCommError 10 |
|
#define | HostNormRespNotFull 11 |
|
#define | HostHighRespNotFull 12 |
|
#define | HostNormCmdNotFull 13 |
|
#define | HostHighCmdNotFull 14 |
|
#define | FastIo 15 |
|
#define | AdapPrintfDone 16 |
|
#define | FIB_MAGIC 0x0001 |
|
#define | FIB_MAGIC2 0x0004 |
|
#define | FIB_MAGIC2_64 0x0005 |
|
#define | FsaNormal 1 |
|
#define | ALIGN32 32 |
|
#define | TestCommandResponse 1 |
|
#define | TestAdapterCommand 2 |
|
#define | LastTestCommand 100 |
|
#define | ReinitHostNormCommandQueue 101 |
|
#define | ReinitHostHighCommandQueue 102 |
|
#define | ReinitHostHighRespQueue 103 |
|
#define | ReinitHostNormRespQueue 104 |
|
#define | ReinitAdapNormCommandQueue 105 |
|
#define | ReinitAdapHighCommandQueue 107 |
|
#define | ReinitAdapHighRespQueue 108 |
|
#define | ReinitAdapNormRespQueue 109 |
|
#define | InterfaceShutdown 110 |
|
#define | DmaCommandFib 120 |
|
#define | StartProfile 121 |
|
#define | TermProfile 122 |
|
#define | SpeedTest 123 |
|
#define | TakeABreakPt 124 |
|
#define | RequestPerfData 125 |
|
#define | SetInterruptDefTimer 126 |
|
#define | SetInterruptDefCount 127 |
|
#define | GetInterruptDefStatus 128 |
|
#define | LastCommCommand 129 |
|
#define | NuFileSystem 300 |
|
#define | UFS 301 |
|
#define | HostFileSystem 302 |
|
#define | LastFileSystemCommand 303 |
|
#define | ContainerCommand 500 |
|
#define | ContainerCommand64 501 |
|
#define | ContainerRawIo 502 |
|
#define | ContainerRawIo2 503 |
|
#define | ScsiPortCommand 600 |
|
#define | ScsiPortCommand64 601 |
|
#define | AifRequest 700 |
|
#define | CheckRevision 701 |
|
#define | FsaHostShutdown 702 |
|
#define | RequestAdapterInfo 703 |
|
#define | IsAdapterPaused 704 |
|
#define | SendHostTime 705 |
|
#define | RequestSupplementAdapterInfo 706 |
|
#define | LastMiscCommand 707 |
|
#define | ADAPTER_INIT_STRUCT_REVISION 3 |
|
#define | ADAPTER_INIT_STRUCT_REVISION_4 4 |
|
#define | ADAPTER_INIT_STRUCT_REVISION_6 6 /* PMC src */ |
|
#define | ADAPTER_INIT_STRUCT_REVISION_7 7 /* Denali */ |
|
#define | INITFLAGS_NEW_COMM_SUPPORTED 0x00000001 |
|
#define | INITFLAGS_DRIVER_USES_UTC_TIME 0x00000010 |
|
#define | INITFLAGS_DRIVER_SUPPORTS_PM 0x00000020 |
|
#define | INITFLAGS_NEW_COMM_TYPE1_SUPPORTED 0x00000040 |
|
#define | INITFLAGS_FAST_JBOD_SUPPORTED 0x00000080 |
|
#define | INITFLAGS_NEW_COMM_TYPE2_SUPPORTED 0x00000100 |
|
#define | FSAFS_NTC_GET_ADAPTER_FIB_CONTEXT 0x030b |
|
#define | FSAFS_NTC_FIB_CONTEXT 0x030c |
|
#define | AAC_QUIRK_31BIT 0x0001 |
|
#define | AAC_QUIRK_34SG 0x0002 |
|
#define | AAC_QUIRK_SLAVE 0x0004 |
|
#define | AAC_QUIRK_MASTER 0x0008 |
|
#define | AAC_QUIRK_17SG 0x0010 |
|
#define | AAC_QUIRK_SCSI_32 0x0020 |
|
#define | Mailbox0 SaDbCSR.MAILBOX0 |
|
#define | Mailbox1 SaDbCSR.MAILBOX1 |
|
#define | Mailbox2 SaDbCSR.MAILBOX2 |
|
#define | Mailbox3 SaDbCSR.MAILBOX3 |
|
#define | Mailbox4 SaDbCSR.MAILBOX4 |
|
#define | Mailbox5 SaDbCSR.MAILBOX5 |
|
#define | Mailbox6 SaDbCSR.MAILBOX6 |
|
#define | Mailbox7 SaDbCSR.MAILBOX7 |
|
#define | DoorbellReg_p SaDbCSR.PRISETIRQ |
|
#define | DoorbellReg_s SaDbCSR.SECSETIRQ |
|
#define | DoorbellClrReg_p SaDbCSR.PRICLEARIRQ |
|
#define | DOORBELL_0 0x0001 |
|
#define | DOORBELL_1 0x0002 |
|
#define | DOORBELL_2 0x0004 |
|
#define | DOORBELL_3 0x0008 |
|
#define | DOORBELL_4 0x0010 |
|
#define | DOORBELL_5 0x0020 |
|
#define | DOORBELL_6 0x0040 |
|
#define | PrintfReady DOORBELL_5 |
|
#define | PrintfDone DOORBELL_5 |
|
#define | Sa_MINIPORT_REVISION 1 |
|
#define | sa_readw(AEP, CSR) readl(&((AEP)->regs.sa->CSR)) |
|
#define | sa_readl(AEP, CSR) readl(&((AEP)->regs.sa->CSR)) |
|
#define | sa_writew(AEP, CSR, value) writew(value, &((AEP)->regs.sa->CSR)) |
|
#define | sa_writel(AEP, CSR, value) writel(value, &((AEP)->regs.sa->CSR)) |
|
#define | INBOUNDDOORBELL_0 0x00000001 |
|
#define | INBOUNDDOORBELL_1 0x00000002 |
|
#define | INBOUNDDOORBELL_2 0x00000004 |
|
#define | INBOUNDDOORBELL_3 0x00000008 |
|
#define | INBOUNDDOORBELL_4 0x00000010 |
|
#define | INBOUNDDOORBELL_5 0x00000020 |
|
#define | INBOUNDDOORBELL_6 0x00000040 |
|
#define | OUTBOUNDDOORBELL_0 0x00000001 |
|
#define | OUTBOUNDDOORBELL_1 0x00000002 |
|
#define | OUTBOUNDDOORBELL_2 0x00000004 |
|
#define | OUTBOUNDDOORBELL_3 0x00000008 |
|
#define | OUTBOUNDDOORBELL_4 0x00000010 |
|
#define | InboundDoorbellReg MUnit.IDR |
|
#define | OutboundDoorbellReg MUnit.ODR |
|
#define | rx_readb(AEP, CSR) readb(&((AEP)->regs.rx->CSR)) |
|
#define | rx_readl(AEP, CSR) readl(&((AEP)->regs.rx->CSR)) |
|
#define | rx_writeb(AEP, CSR, value) writeb(value, &((AEP)->regs.rx->CSR)) |
|
#define | rx_writel(AEP, CSR, value) writel(value, &((AEP)->regs.rx->CSR)) |
|
#define | rkt_mu_registers rx_mu_registers |
|
#define | rkt_inbound rx_inbound |
|
#define | rkt_readb(AEP, CSR) readb(&((AEP)->regs.rkt->CSR)) |
|
#define | rkt_readl(AEP, CSR) readl(&((AEP)->regs.rkt->CSR)) |
|
#define | rkt_writeb(AEP, CSR, value) writeb(value, &((AEP)->regs.rkt->CSR)) |
|
#define | rkt_writel(AEP, CSR, value) writel(value, &((AEP)->regs.rkt->CSR)) |
|
#define | src_inbound rx_inbound |
|
#define | src_readb(AEP, CSR) readb(&((AEP)->regs.src.bar0->CSR)) |
|
#define | src_readl(AEP, CSR) readl(&((AEP)->regs.src.bar0->CSR)) |
|
#define | src_writeb(AEP, CSR, value) |
|
#define | src_writel(AEP, CSR, value) |
|
#define | SRC_ODR_SHIFT 12 |
|
#define | SRC_IDR_SHIFT 9 |
|
#define | AAC_FEATURE_FALCON cpu_to_le32(0x00000010) |
|
#define | AAC_FEATURE_JBOD cpu_to_le32(0x08000000) |
|
#define | AAC_OPTION_MU_RESET cpu_to_le32(0x00000001) |
|
#define | AAC_OPTION_IGNORE_RESET cpu_to_le32(0x00000002) |
|
#define | AAC_OPTION_POWER_MANAGEMENT cpu_to_le32(0x00000004) |
|
#define | AAC_OPTION_DOORBELL_RESET cpu_to_le32(0x00004000) |
|
#define | AAC_SIS_VERSION_V3 3 |
|
#define | AAC_SIS_SLOT_UNKNOWN 0xFF |
|
#define | GetBusInfo 0x00000009 |
|
#define | AAC_BAT_REQ_PRESENT (1) |
|
#define | AAC_BAT_REQ_NOTPRESENT (2) |
|
#define | AAC_BAT_OPT_PRESENT (3) |
|
#define | AAC_BAT_OPT_NOTPRESENT (4) |
|
#define | AAC_BAT_NOT_SUPPORTED (5) |
|
#define | AAC_CPU_SIMULATOR (1) |
|
#define | AAC_CPU_I960 (2) |
|
#define | AAC_CPU_STRONGARM (3) |
|
#define | AAC_OPT_SNAPSHOT cpu_to_le32(1) |
|
#define | AAC_OPT_CLUSTERS cpu_to_le32(1<<1) |
|
#define | AAC_OPT_WRITE_CACHE cpu_to_le32(1<<2) |
|
#define | AAC_OPT_64BIT_DATA cpu_to_le32(1<<3) |
|
#define | AAC_OPT_HOST_TIME_FIB cpu_to_le32(1<<4) |
|
#define | AAC_OPT_RAID50 cpu_to_le32(1<<5) |
|
#define | AAC_OPT_4GB_WINDOW cpu_to_le32(1<<6) |
|
#define | AAC_OPT_SCSI_UPGRADEABLE cpu_to_le32(1<<7) |
|
#define | AAC_OPT_SOFT_ERR_REPORT cpu_to_le32(1<<8) |
|
#define | AAC_OPT_SUPPORTED_RECONDITION cpu_to_le32(1<<9) |
|
#define | AAC_OPT_SGMAP_HOST64 cpu_to_le32(1<<10) |
|
#define | AAC_OPT_ALARM cpu_to_le32(1<<11) |
|
#define | AAC_OPT_NONDASD cpu_to_le32(1<<12) |
|
#define | AAC_OPT_SCSI_MANAGED cpu_to_le32(1<<13) |
|
#define | AAC_OPT_RAID_SCSI_MODE cpu_to_le32(1<<14) |
|
#define | AAC_OPT_SUPPLEMENT_ADAPTER_INFO cpu_to_le32(1<<16) |
|
#define | AAC_OPT_NEW_COMM cpu_to_le32(1<<17) |
|
#define | AAC_OPT_NEW_COMM_64 cpu_to_le32(1<<18) |
|
#define | AAC_OPT_NEW_COMM_TYPE1 cpu_to_le32(1<<28) |
|
#define | AAC_OPT_NEW_COMM_TYPE2 cpu_to_le32(1<<29) |
|
#define | AAC_OPT_NEW_COMM_TYPE3 cpu_to_le32(1<<30) |
|
#define | AAC_OPT_NEW_COMM_TYPE4 cpu_to_le32(1<<31) |
|
#define | AAC_MIN_FOOTPRINT_SIZE 8192 |
|
#define | AAC_MIN_SRC_BAR0_SIZE 0x400000 |
|
#define | AAC_MIN_SRC_BAR1_SIZE 0x800 |
|
#define | AAC_MIN_SRCV_BAR0_SIZE 0x100000 |
|
#define | AAC_MIN_SRCV_BAR1_SIZE 0x400 |
|
#define | AAC_COMM_PRODUCER 0 |
|
#define | AAC_COMM_MESSAGE 1 |
|
#define | AAC_COMM_MESSAGE_TYPE1 3 |
|
#define | AAC_COMM_MESSAGE_TYPE2 4 |
|
#define | aac_adapter_interrupt(dev) (dev)->a_ops.adapter_interrupt(dev) |
|
#define | aac_adapter_notify(dev, event) (dev)->a_ops.adapter_notify(dev, event) |
|
#define | aac_adapter_disable_int(dev) (dev)->a_ops.adapter_disable_int(dev) |
|
#define | aac_adapter_enable_int(dev) (dev)->a_ops.adapter_enable_int(dev) |
|
#define | aac_adapter_sync_cmd(dev, command, p1, p2, p3, p4, p5, p6, status, r1, r2, r3, r4) (dev)->a_ops.adapter_sync_cmd(dev, command, p1, p2, p3, p4, p5, p6, status, r1, r2, r3, r4) |
|
#define | aac_adapter_check_health(dev) (dev)->a_ops.adapter_check_health(dev) |
|
#define | aac_adapter_restart(dev, bled) (dev)->a_ops.adapter_restart(dev,bled) |
|
#define | aac_adapter_ioremap(dev, size) (dev)->a_ops.adapter_ioremap(dev, size) |
|
#define | aac_adapter_deliver(fib) ((fib)->dev)->a_ops.adapter_deliver(fib) |
|
#define | aac_adapter_bounds(dev, cmd, lba) dev->a_ops.adapter_bounds(dev,cmd,lba) |
|
#define | aac_adapter_read(fib, cmd, lba, count) ((fib)->dev)->a_ops.adapter_read(fib,cmd,lba,count) |
|
#define | aac_adapter_write(fib, cmd, lba, count, fua) ((fib)->dev)->a_ops.adapter_write(fib,cmd,lba,count,fua) |
|
#define | aac_adapter_scsi(fib, cmd) ((fib)->dev)->a_ops.adapter_scsi(fib,cmd) |
|
#define | aac_adapter_comm(dev, comm) (dev)->a_ops.adapter_comm(dev, comm) |
|
#define | FIB_CONTEXT_FLAG_TIMED_OUT (0x00000001) |
|
#define | FIB_CONTEXT_FLAG (0x00000002) |
|
#define | FIB_CONTEXT_FLAG_WAIT (0x00000004) |
|
#define | FIB_CONTEXT_FLAG_FASTRESP (0x00000008) |
|
#define | Null 0 |
|
#define | GetAttributes 1 |
|
#define | SetAttributes 2 |
|
#define | Lookup 3 |
|
#define | ReadLink 4 |
|
#define | Read 5 |
|
#define | Write 6 |
|
#define | Create 7 |
|
#define | MakeDirectory 8 |
|
#define | SymbolicLink 9 |
|
#define | MakeNode 10 |
|
#define | Removex 11 |
|
#define | RemoveDirectoryx 12 |
|
#define | Rename 13 |
|
#define | Link 14 |
|
#define | ReadDirectory 15 |
|
#define | ReadDirectoryPlus 16 |
|
#define | FileSystemStatus 17 |
|
#define | FileSystemInfo 18 |
|
#define | PathConfigure 19 |
|
#define | Commit 20 |
|
#define | Mount 21 |
|
#define | UnMount 22 |
|
#define | Newfs 23 |
|
#define | FsCheck 24 |
|
#define | FsSync 25 |
|
#define | SimReadWrite 26 |
|
#define | SetFileSystemStatus 27 |
|
#define | BlockRead 28 |
|
#define | BlockWrite 29 |
|
#define | NvramIoctl 30 |
|
#define | FsSyncWait 31 |
|
#define | ClearArchiveBit 32 |
|
#define | SetAcl 33 |
|
#define | GetAcl 34 |
|
#define | AssignAcl 35 |
|
#define | FaultInsertion 36 /* Fault Insertion Command */ |
|
#define | CrazyCache 37 /* Crazycache */ |
|
#define | MAX_FSACOMMAND_NUM 38 |
|
#define | ST_OK 0 |
|
#define | ST_PERM 1 |
|
#define | ST_NOENT 2 |
|
#define | ST_IO 5 |
|
#define | ST_NXIO 6 |
|
#define | ST_E2BIG 7 |
|
#define | ST_ACCES 13 |
|
#define | ST_EXIST 17 |
|
#define | ST_XDEV 18 |
|
#define | ST_NODEV 19 |
|
#define | ST_NOTDIR 20 |
|
#define | ST_ISDIR 21 |
|
#define | ST_INVAL 22 |
|
#define | ST_FBIG 27 |
|
#define | ST_NOSPC 28 |
|
#define | ST_ROFS 30 |
|
#define | ST_MLINK 31 |
|
#define | ST_WOULDBLOCK 35 |
|
#define | ST_NAMETOOLONG 63 |
|
#define | ST_NOTEMPTY 66 |
|
#define | ST_DQUOT 69 |
|
#define | ST_STALE 70 |
|
#define | ST_REMOTE 71 |
|
#define | ST_NOT_READY 72 |
|
#define | ST_BADHANDLE 10001 |
|
#define | ST_NOT_SYNC 10002 |
|
#define | ST_BAD_COOKIE 10003 |
|
#define | ST_NOTSUPP 10004 |
|
#define | ST_TOOSMALL 10005 |
|
#define | ST_SERVERFAULT 10006 |
|
#define | ST_BADTYPE 10007 |
|
#define | ST_JUKEBOX 10008 |
|
#define | ST_NOTMOUNTED 10009 |
|
#define | ST_MAINTMODE 10010 |
|
#define | ST_STALEACL 10011 |
|
#define | CACHE_CSTABLE 1 |
|
#define | CACHE_UNSTABLE 2 |
|
#define | CMFILE_SYNCH_NVRAM 1 |
|
#define | CMDATA_SYNCH_NVRAM 2 |
|
#define | CMFILE_SYNCH 3 |
|
#define | CMDATA_SYNCH 4 |
|
#define | CMUNSTABLE 5 |
|
#define | RIO_TYPE_WRITE 0x0000 |
|
#define | RIO_TYPE_READ 0x0001 |
|
#define | RIO_SUREWRITE 0x0008 |
|
#define | RIO2_IO_TYPE 0x0003 |
|
#define | RIO2_IO_TYPE_WRITE 0x0000 |
|
#define | RIO2_IO_TYPE_READ 0x0001 |
|
#define | RIO2_IO_TYPE_VERIFY 0x0002 |
|
#define | RIO2_IO_ERROR 0x0004 |
|
#define | RIO2_IO_SUREWRITE 0x0008 |
|
#define | RIO2_SGL_CONFORMANT 0x0010 |
|
#define | RIO2_SG_FORMAT 0xF000 |
|
#define | RIO2_SG_FORMAT_ARC 0x0000 |
|
#define | RIO2_SG_FORMAT_SRL 0x1000 |
|
#define | RIO2_SG_FORMAT_IEEE1212 0x2000 |
|
#define | CT_FLUSH_CACHE 129 |
|
#define | CT_POWER_MANAGEMENT 245 |
|
#define | CT_PM_START_UNIT 2 |
|
#define | CT_PM_STOP_UNIT 3 |
|
#define | CT_PM_UNIT_IMMEDIATE 1 |
|
#define | CT_PAUSE_IO 65 |
|
#define | CT_RELEASE_IO 66 |
|
#define | AAC_SENSE_BUFFERSIZE 30 |
|
#define | SRB_NoDataXfer 0x0000 |
|
#define | SRB_DisableDisconnect 0x0004 |
|
#define | SRB_DisableSynchTransfer 0x0008 |
|
#define | SRB_BypassFrozenQueue 0x0010 |
|
#define | SRB_DisableAutosense 0x0020 |
|
#define | SRB_DataIn 0x0040 |
|
#define | SRB_DataOut 0x0080 |
|
#define | SRBF_ExecuteScsi 0x0000 |
|
#define | SRBF_ClaimDevice 0x0001 |
|
#define | SRBF_IO_Control 0x0002 |
|
#define | SRBF_ReceiveEvent 0x0003 |
|
#define | SRBF_ReleaseQueue 0x0004 |
|
#define | SRBF_AttachDevice 0x0005 |
|
#define | SRBF_ReleaseDevice 0x0006 |
|
#define | SRBF_Shutdown 0x0007 |
|
#define | SRBF_Flush 0x0008 |
|
#define | SRBF_AbortCommand 0x0010 |
|
#define | SRBF_ReleaseRecovery 0x0011 |
|
#define | SRBF_ResetBus 0x0012 |
|
#define | SRBF_ResetDevice 0x0013 |
|
#define | SRBF_TerminateIO 0x0014 |
|
#define | SRBF_FlushQueue 0x0015 |
|
#define | SRBF_RemoveDevice 0x0016 |
|
#define | SRBF_DomainValidation 0x0017 |
|
#define | SRB_STATUS_PENDING 0x00 |
|
#define | SRB_STATUS_SUCCESS 0x01 |
|
#define | SRB_STATUS_ABORTED 0x02 |
|
#define | SRB_STATUS_ABORT_FAILED 0x03 |
|
#define | SRB_STATUS_ERROR 0x04 |
|
#define | SRB_STATUS_BUSY 0x05 |
|
#define | SRB_STATUS_INVALID_REQUEST 0x06 |
|
#define | SRB_STATUS_INVALID_PATH_ID 0x07 |
|
#define | SRB_STATUS_NO_DEVICE 0x08 |
|
#define | SRB_STATUS_TIMEOUT 0x09 |
|
#define | SRB_STATUS_SELECTION_TIMEOUT 0x0A |
|
#define | SRB_STATUS_COMMAND_TIMEOUT 0x0B |
|
#define | SRB_STATUS_MESSAGE_REJECTED 0x0D |
|
#define | SRB_STATUS_BUS_RESET 0x0E |
|
#define | SRB_STATUS_PARITY_ERROR 0x0F |
|
#define | SRB_STATUS_REQUEST_SENSE_FAILED 0x10 |
|
#define | SRB_STATUS_NO_HBA 0x11 |
|
#define | SRB_STATUS_DATA_OVERRUN 0x12 |
|
#define | SRB_STATUS_UNEXPECTED_BUS_FREE 0x13 |
|
#define | SRB_STATUS_PHASE_SEQUENCE_FAILURE 0x14 |
|
#define | SRB_STATUS_BAD_SRB_BLOCK_LENGTH 0x15 |
|
#define | SRB_STATUS_REQUEST_FLUSHED 0x16 |
|
#define | SRB_STATUS_DELAYED_RETRY 0x17 |
|
#define | SRB_STATUS_INVALID_LUN 0x20 |
|
#define | SRB_STATUS_INVALID_TARGET_ID 0x21 |
|
#define | SRB_STATUS_BAD_FUNCTION 0x22 |
|
#define | SRB_STATUS_ERROR_RECOVERY 0x23 |
|
#define | SRB_STATUS_NOT_STARTED 0x24 |
|
#define | SRB_STATUS_NOT_IN_USE 0x30 |
|
#define | SRB_STATUS_FORCE_ABORT 0x31 |
|
#define | SRB_STATUS_DOMAIN_VALIDATION_FAIL 0x32 |
|
#define | VM_Null 0 |
|
#define | VM_NameServe 1 |
|
#define | VM_ContainerConfig 2 |
|
#define | VM_Ioctl 3 |
|
#define | VM_FilesystemIoctl 4 |
|
#define | VM_CloseAll 5 |
|
#define | VM_CtBlockRead 6 |
|
#define | VM_CtBlockWrite 7 |
|
#define | VM_SliceBlockRead 8 /* raw access to configured "storage objects" */ |
|
#define | VM_SliceBlockWrite 9 |
|
#define | VM_DriveBlockRead 10 /* raw access to physical devices */ |
|
#define | VM_DriveBlockWrite 11 |
|
#define | VM_EnclosureMgt 12 /* enclosure management */ |
|
#define | VM_Unused 13 /* used to be diskset management */ |
|
#define | VM_CtBlockVerify 14 |
|
#define | VM_CtPerf 15 /* performance test */ |
|
#define | VM_CtBlockRead64 16 |
|
#define | VM_CtBlockWrite64 17 |
|
#define | VM_CtBlockVerify64 18 |
|
#define | VM_CtHostRead64 19 |
|
#define | VM_CtHostWrite64 20 |
|
#define | VM_DrvErrTblLog 21 |
|
#define | VM_NameServe64 22 |
|
#define | MAX_VMCOMMAND_NUM 23 /* used for sizing stats array - leave last */ |
|
#define | CT_GET_CONFIG_STATUS 147 |
|
#define | CFACT_CONTINUE 0 |
|
#define | CFACT_PAUSE 1 |
|
#define | CFACT_ABORT 2 |
|
#define | CT_COMMIT_CONFIG 152 |
|
#define | CT_GET_CONTAINER_COUNT 4 |
|
#define | FSCS_NOTCLEAN 0x0001 /* fsck is necessary before mounting */ |
|
#define | FSCS_READONLY 0x0002 /* possible result of broken mirror */ |
|
#define | FSCS_HIDDEN 0x0004 /* should be ignored - set during a clear */ |
|
#define | FSCS_NOT_READY 0x0008 /* Array spinning up to fulfil request */ |
|
#define | CT_READ_NAME 130 |
|
#define | CT_CID_TO_32BITS_UID 165 |
|
#define | CTL_CODE(function, method) |
|
#define | METHOD_BUFFERED 0 |
|
#define | METHOD_NEITHER 3 |
|
#define | FSACTL_SENDFIB CTL_CODE(2050, METHOD_BUFFERED) |
|
#define | FSACTL_SEND_RAW_SRB CTL_CODE(2067, METHOD_BUFFERED) |
|
#define | FSACTL_DELETE_DISK 0x163 |
|
#define | FSACTL_QUERY_DISK 0x173 |
|
#define | FSACTL_OPEN_GET_ADAPTER_FIB CTL_CODE(2100, METHOD_BUFFERED) |
|
#define | FSACTL_GET_NEXT_ADAPTER_FIB CTL_CODE(2101, METHOD_BUFFERED) |
|
#define | FSACTL_CLOSE_GET_ADAPTER_FIB CTL_CODE(2102, METHOD_BUFFERED) |
|
#define | FSACTL_MINIPORT_REV_CHECK CTL_CODE(2107, METHOD_BUFFERED) |
|
#define | FSACTL_GET_PCI_INFO CTL_CODE(2119, METHOD_BUFFERED) |
|
#define | FSACTL_FORCE_DELETE_DISK CTL_CODE(2120, METHOD_NEITHER) |
|
#define | FSACTL_GET_CONTAINERS 2131 |
|
#define | FSACTL_SEND_LARGE_FIB CTL_CODE(2138, METHOD_BUFFERED) |
|
#define | FIB_COUNTER_INCREMENT(counter) |
|
#define | BREAKPOINT_REQUEST 0x00000004 |
|
#define | INIT_STRUCT_BASE_ADDRESS 0x00000005 |
|
#define | READ_PERMANENT_PARAMETERS 0x0000000a |
|
#define | WRITE_PERMANENT_PARAMETERS 0x0000000b |
|
#define | HOST_CRASHING 0x0000000d |
|
#define | SEND_SYNCHRONOUS_FIB 0x0000000c |
|
#define | COMMAND_POST_RESULTS 0x00000014 |
|
#define | GET_ADAPTER_PROPERTIES 0x00000019 |
|
#define | GET_DRIVER_BUFFER_PROPERTIES 0x00000023 |
|
#define | RCV_TEMP_READINGS 0x00000025 |
|
#define | GET_COMM_PREFERRED_SETTINGS 0x00000026 |
|
#define | IOP_RESET 0x00001000 |
|
#define | IOP_RESET_ALWAYS 0x00001001 |
|
#define | RE_INIT_ADAPTER 0x000000ee |
|
#define | SELF_TEST_FAILED 0x00000004 |
|
#define | MONITOR_PANIC 0x00000020 |
|
#define | KERNEL_UP_AND_RUNNING 0x00000080 |
|
#define | KERNEL_PANIC 0x00000100 |
|
#define | DoorBellSyncCmdAvailable (1<<0) /* Host -> Adapter */ |
|
#define | DoorBellPrintfDone (1<<5) /* Host -> Adapter */ |
|
#define | DoorBellAdapterNormCmdReady (1<<1) /* Adapter -> Host */ |
|
#define | DoorBellAdapterNormRespReady (1<<2) /* Adapter -> Host */ |
|
#define | DoorBellAdapterNormCmdNotFull (1<<3) /* Adapter -> Host */ |
|
#define | DoorBellAdapterNormRespNotFull (1<<4) /* Adapter -> Host */ |
|
#define | DoorBellPrintfReady (1<<5) /* Adapter -> Host */ |
|
#define | DoorBellAifPending (1<<6) /* Adapter -> Host */ |
|
#define | PmDoorBellResponseSent (1<<1) /* Adapter -> Host */ |
|
#define | AifCmdEventNotify 1 /* Notify of event */ |
|
#define | AifEnConfigChange 3 /* Adapter configuration change */ |
|
#define | AifEnContainerChange 4 /* Container configuration change */ |
|
#define | AifEnDeviceFailure 5 /* SCSI device failed */ |
|
#define | AifEnEnclosureManagement 13 /* EM_DRIVE_* */ |
|
#define | EM_DRIVE_INSERTION 31 |
|
#define | EM_DRIVE_REMOVAL 32 |
|
#define | AifEnBatteryEvent 14 /* Change in Battery State */ |
|
#define | AifEnAddContainer 15 /* A new array was created */ |
|
#define | AifEnDeleteContainer 16 /* A container was deleted */ |
|
#define | AifEnExpEvent 23 /* Firmware Event Log */ |
|
#define | AifExeFirmwarePanic 3 /* Firmware Event Panic */ |
|
#define | AifHighPriority 3 /* Highest Priority Event */ |
|
#define | AifEnAddJBOD 30 /* JBOD created */ |
|
#define | AifEnDeleteJBOD 31 /* JBOD deleted */ |
|
#define | AifCmdJobProgress 2 /* Progress report */ |
|
#define | AifJobCtrZero 101 /* Array Zero progress */ |
|
#define | AifJobStsSuccess 1 /* Job completes */ |
|
#define | AifJobStsRunning 102 /* Job running */ |
|
#define | AifCmdAPIReport 3 /* Report from other user of API */ |
|
#define | AifCmdDriverNotify 4 /* Notify host driver of event */ |
|
#define | AifDenMorphComplete 200 /* A morph operation completed */ |
|
#define | AifDenVolumeExtendComplete 201 /* A volume extend completed */ |
|
#define | AifReqJobList 100 /* Gets back complete job list */ |
|
#define | AifReqJobsForCtr 101 /* Gets back jobs for specific container */ |
|
#define | AifReqJobsForScsi 102 /* Gets back jobs for specific SCSI device */ |
|
#define | AifReqJobReport 103 /* Gets back a specific job report or list of them */ |
|
#define | AifReqTerminateJob 104 /* Terminates job */ |
|
#define | AifReqSuspendJob 105 /* Suspends a job */ |
|
#define | AifReqResumeJob 106 /* Resumes a job */ |
|
#define | AifReqSendAPIReport 107 /* API generic report requests */ |
|
#define | AifReqAPIJobStart 108 /* Start a job from the API */ |
|
#define | AifReqAPIJobUpdate 109 /* Update a job report from the API */ |
|
#define | AifReqAPIJobFinish 110 /* Finish a job from the API */ |
|
#define | AifReqEvent 200 |
|
#define | AAC_OWNER_MIDLEVEL 0x101 |
|
#define | AAC_OWNER_LOWLEVEL 0x102 |
|
#define | AAC_OWNER_ERROR_HANDLER 0x103 |
|
#define | AAC_OWNER_FIRMWARE 0x106 |
|
#define | fib_data(fibctx) ((void *)(fibctx)->hw_fib_va->data) |
|
#define | shost_to_class(shost) &shost->shost_dev |
|