Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
cciss_defs.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

union  _SCSI3Addr_struct
 
struct  _PhysDevAddr_struct
 
struct  _LogDevAddr_struct
 
union  _LUNAddr_struct
 
struct  _RequestBlock_struct
 
union  _MoreErrInfo_struct
 
struct  _ErrorInfo_struct
 

Macros

#define SENSEINFOBYTES
 
#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 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 BYTE   __u8
 
#define WORD   __u16
 
#define HWORD   __u16
 
#define DWORD   __u32
 
#define CISS_MAX_LUN   1024
 
#define LEVEL2LUN   1 /* index into Target(x) structure, due to byte swapping */
 
#define LEVEL3LUN   0
 

Typedefs

typedef union _SCSI3Addr_struct SCSI3Addr_struct
 
typedef struct _PhysDevAddr_struct PhysDevAddr_struct
 
typedef struct _LogDevAddr_struct LogDevAddr_struct
 
typedef union _LUNAddr_struct LUNAddr_struct
 
typedef struct _RequestBlock_struct RequestBlock_struct
 
typedef union _MoreErrInfo_struct MoreErrInfo_struct
 
typedef struct _ErrorInfo_struct ErrorInfo_struct
 

Macro Definition Documentation

#define ATTR_ACA   0x07

Definition at line 35 of file cciss_defs.h.

#define ATTR_HEADOFQUEUE   0x05

Definition at line 33 of file cciss_defs.h.

#define ATTR_ORDERED   0x06

Definition at line 34 of file cciss_defs.h.

#define ATTR_SIMPLE   0x04

Definition at line 32 of file cciss_defs.h.

#define ATTR_UNTAGGED   0x00

Definition at line 31 of file cciss_defs.h.

#define BYTE   __u8

Definition at line 42 of file cciss_defs.h.

#define CISS_MAX_LUN   1024

Definition at line 47 of file cciss_defs.h.

#define CMD_ABORT_FAILED   0x0009

Definition at line 19 of file cciss_defs.h.

#define CMD_ABORTED   0x0008

Definition at line 18 of file cciss_defs.h.

#define CMD_CONNECTION_LOST   0x0007

Definition at line 17 of file cciss_defs.h.

#define CMD_DATA_OVERRUN   0x0003

Definition at line 13 of file cciss_defs.h.

#define CMD_DATA_UNDERRUN   0x0002

Definition at line 12 of file cciss_defs.h.

#define CMD_HARDWARE_ERR   0x0006

Definition at line 16 of file cciss_defs.h.

#define CMD_INVALID   0x0004

Definition at line 14 of file cciss_defs.h.

#define CMD_PROTOCOL_ERR   0x0005

Definition at line 15 of file cciss_defs.h.

#define CMD_SUCCESS   0x0000

Definition at line 10 of file cciss_defs.h.

#define CMD_TARGET_STATUS   0x0001

Definition at line 11 of file cciss_defs.h.

#define CMD_TIMEOUT   0x000B

Definition at line 21 of file cciss_defs.h.

#define CMD_UNABORTABLE   0x000C

Definition at line 22 of file cciss_defs.h.

#define CMD_UNSOLICITED_ABORT   0x000A

Definition at line 20 of file cciss_defs.h.

#define DWORD   __u32

Definition at line 45 of file cciss_defs.h.

#define HWORD   __u16

Definition at line 44 of file cciss_defs.h.

#define LEVEL2LUN   1 /* index into Target(x) structure, due to byte swapping */

Definition at line 49 of file cciss_defs.h.

#define LEVEL3LUN   0

Definition at line 50 of file cciss_defs.h.

#define SENSEINFOBYTES
Value:
32 /* note that this value may vary
between host implementations */

Definition at line 7 of file cciss_defs.h.

#define TYPE_CMD   0x00

Definition at line 38 of file cciss_defs.h.

#define TYPE_MSG   0x01

Definition at line 39 of file cciss_defs.h.

#define WORD   __u16

Definition at line 43 of file cciss_defs.h.

#define XFER_NONE   0x00

Definition at line 25 of file cciss_defs.h.

#define XFER_READ   0x02

Definition at line 27 of file cciss_defs.h.

#define XFER_RSVD   0x03

Definition at line 28 of file cciss_defs.h.

#define XFER_WRITE   0x01

Definition at line 26 of file cciss_defs.h.

Typedef Documentation