38#include <sys/ioccom.h>
58#define CISS_PARSCSIU2 0x0001
59#define CISS_PARCSCIU3 0x0002
60#define CISS_FIBRE1G 0x0100
61#define CISS_FIBRE2G 0x0200
68#define SENSEINFOBYTES 32
69#define CISS_MAX_LUN 16
74#define CMD_SUCCESS 0x0000
75#define CMD_TARGET_STATUS 0x0001
76#define CMD_DATA_UNDERRUN 0x0002
77#define CMD_DATA_OVERRUN 0x0003
78#define CMD_INVALID 0x0004
79#define CMD_PROTOCOL_ERR 0x0005
80#define CMD_HARDWARE_ERR 0x0006
81#define CMD_CONNECTION_LOST 0x0007
82#define CMD_ABORTED 0x0008
83#define CMD_ABORT_FAILED 0x0009
84#define CMD_UNSOLICITED_ABORT 0x000A
85#define CMD_TIMEOUT 0x000B
86#define CMD_UNABORTABLE 0x000C
90#define XFER_WRITE 0x01
95#define ATTR_UNTAGGED 0x00
96#define ATTR_SIMPLE 0x04
97#define ATTR_HEADOFQUEUE 0x05
98#define ATTR_ORDERED 0x06
135 u_int8_t reserved[4];
139 u_int8_t LunAddrBytes[8];
158 u_int8_t Reserved[3];
163 u_int8_t Reserved[2];
189 LUNAddr_struct LUN_info;
190 RequestBlock_struct Request;
191 ErrorInfo_struct error_info;
202#define CISSQ_NOTIFY 1
219#define CCISS_GETPCIINFO _IOR ('C', 200, cciss_pci_info_struct)
220#define CCISS_GETINTINFO _IOR ('C', 201, cciss_coalint_struct)
221#define CCISS_SETINTINFO _IOW ('C', 202, cciss_coalint_struct)
222#define CCISS_GETNODENAME _IOR ('C', 203, NodeName_type)
223#define CCISS_SETNODENAME _IOW ('C', 204, NodeName_type)
224#define CCISS_GETHEARTBEAT _IOR ('C', 205, Heartbeat_type)
225#define CCISS_GETBUSTYPES _IOR ('C', 206, BusTypes_type)
226#define CCISS_GETFIRMVER _IOR ('C', 207, FirmwareVer_type)
227#define CCISS_GETDRIVERVER _IOR ('C', 208, DriverVer_type)
228#define CCISS_REVALIDVOLS _IO ('C', 209)
229#define CCISS_PASSTHRU _IOWR ('C', 210, IOCTL_Command_struct)
231#define CCISS_PASSTHRU32 _IOWR ('C', 210, IOCTL_Command_struct32)
233#define CCISS_GETQSTATS _IOWR ('C', 211, union ciss_statrequest)
ErrorInfo_struct error_info
RequestBlock_struct Request
MoreErrInfo_struct MoreErrInfo
PhysDevAddr_struct PhysDev
struct ciss_qstat cs_qstat