Go to the documentation of this file.
4 #include <linux/types.h>
7 #define SENSEINFOBYTES 32
11 #define CMD_SUCCESS 0x0000
12 #define CMD_TARGET_STATUS 0x0001
13 #define CMD_DATA_UNDERRUN 0x0002
14 #define CMD_DATA_OVERRUN 0x0003
15 #define CMD_INVALID 0x0004
16 #define CMD_PROTOCOL_ERR 0x0005
17 #define CMD_HARDWARE_ERR 0x0006
18 #define CMD_CONNECTION_LOST 0x0007
19 #define CMD_ABORTED 0x0008
20 #define CMD_ABORT_FAILED 0x0009
21 #define CMD_UNSOLICITED_ABORT 0x000A
22 #define CMD_TIMEOUT 0x000B
23 #define CMD_UNABORTABLE 0x000C
26 #define XFER_NONE 0x00
27 #define XFER_WRITE 0x01
28 #define XFER_READ 0x02
29 #define XFER_RSVD 0x03
32 #define ATTR_UNTAGGED 0x00
33 #define ATTR_SIMPLE 0x04
34 #define ATTR_HEADOFQUEUE 0x05
35 #define ATTR_ORDERED 0x06
48 #define CISS_MAX_LUN 1024