8 typedef struct emul_pp
{
19 __u16 drive_type
; /* In Little Endian ! */
20 struct lun_map lunmap
[4];
26 typedef struct log_sheader
{
33 /* Log Sense Statistics */
35 typedef struct read_command_statistics
{
36 __u16 code
; /* 0x01 */
38 __u8 length
; /* 0x24 */
50 typedef struct write_command_statistics
{
51 __u16 code
; /* 0x03 */
53 __u8 length
; /* 0x28 */
66 typedef struct host_command_statistics
{
67 __u16 code
; /* 0x02, 0x04 */
69 __u8 length
; /* 0x30 */
73 typedef struct physical_command_statistics
{
74 __u16 code
; /* 0x06, 0x07 */
76 __u8 length
; /* 0x34 */
80 typedef struct misc_device_statistics
{
81 __u16 code
; /* 0x05 */
83 __u8 length
; /* 0x10 */
87 stripe_boundary_crosses
;
90 /* Configuration Pages */
92 typedef struct controller_configuration
{
93 __u16 code
; /* 0x01 */
95 __u8 length
; /* 0x02 */
106 typedef struct controller_hardware_errors
{
107 __u16 code
; /* 0x02 */
109 __u8 length
; /* 0x02 */
115 typedef struct memory_map
{
116 __u16 code
; /* 0x03, 0x04 */
118 __u8 length
; /* 0x04 */
122 typedef struct scsi_transfer
{
123 __u16 code
; /* 0x05 */
125 __u8 length
; /* 0x04 */
131 typedef struct scsi_modes
{
132 __u16 code
; /* 0x06 */
134 __u8 length
; /* 0x02 */
144 typedef struct host_bus
{
145 __u16 code
; /* 0x07 */
147 __u8 length
; /* 0x02 */
154 typedef struct scsi_bus
{
155 __u16 code
; /* 0x08 */
157 __u8 length
; /* 0x02 */
166 typedef struct board_type
{
167 __u16 code
; /* 0x09 */
169 __u8 length
; /* 0x04 */
187 typedef struct memory_config
{
188 __u16 code
; /* 0x0a */
190 __u8 length
; /* 0x04 */
194 typedef struct firmware_info
{
195 __u16 code
; /* 0x0b */
197 __u8 length
; /* 0x04 */
207 typedef struct subsystem_info
{
208 __u16 code
; /* 0x0c */
210 __u8 length
; /* 0x02 */
217 typedef struct per_channel_info
{
218 __u16 code
; /* 0x0d */
220 __u8 length
; /* 0x02 */
232 typedef struct array_limits
{
233 __u16 code
; /* 0x0e */
235 __u8 length
; /* 0x04 */
243 * Overrides for Emacs so that we follow Linus's tabbing style.
244 * Emacs will notice this stuff at the end of the file and automatically
245 * adjust the settings for this buffer only. This must remain at the end
247 * ---------------------------------------------------------------------------
250 * c-brace-imaginary-offset: 0
252 * c-argdecl-indent: 4
254 * c-continued-statement-offset: 4
255 * c-continued-brace-offset: 0
256 * indent-tabs-mode: nil