| OLD | NEW |
| 1 #ifndef _SCSI_SCSI_H | 1 #ifndef _SCSI_SCSI_H |
| 2 #define _SCSI_SCSI_H | 2 #define _SCSI_SCSI_H |
| 3 | 3 |
| 4 #define TEST_UNIT_READY 0x00 | 4 #define TEST_UNIT_READY 0x00 |
| 5 #define REZERO_UNIT 0x01 | 5 #define REZERO_UNIT 0x01 |
| 6 #define REQUEST_SENSE 0x03 | 6 #define REQUEST_SENSE 0x03 |
| 7 #define FORMAT_UNIT 0x04 | 7 #define FORMAT_UNIT 0x04 |
| 8 #define READ_BLOCK_LIMITS 0x05 | 8 #define READ_BLOCK_LIMITS 0x05 |
| 9 #define REASSIGN_BLOCKS 0x07 | 9 #define REASSIGN_BLOCKS 0x07 |
| 10 #define READ_6 0x08 | 10 #define READ_6 0x08 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 #define SIMPLE_QUEUE_TAG 0x20 | 125 #define SIMPLE_QUEUE_TAG 0x20 |
| 126 #define HEAD_OF_QUEUE_TAG 0x21 | 126 #define HEAD_OF_QUEUE_TAG 0x21 |
| 127 #define ORDERED_QUEUE_TAG 0x22 | 127 #define ORDERED_QUEUE_TAG 0x22 |
| 128 #define SCSI_IOCTL_GET_IDLUN 0x5382 | 128 #define SCSI_IOCTL_GET_IDLUN 0x5382 |
| 129 #define SCSI_IOCTL_TAGGED_ENABLE 0x5383 | 129 #define SCSI_IOCTL_TAGGED_ENABLE 0x5383 |
| 130 #define SCSI_IOCTL_TAGGED_DISABLE 0x5384 | 130 #define SCSI_IOCTL_TAGGED_DISABLE 0x5384 |
| 131 #define SCSI_IOCTL_PROBE_HOST 0x5385 | 131 #define SCSI_IOCTL_PROBE_HOST 0x5385 |
| 132 #define SCSI_IOCTL_GET_BUS_NUMBER 0x5386 | 132 #define SCSI_IOCTL_GET_BUS_NUMBER 0x5386 |
| 133 | 133 |
| 134 struct ccs_modesel_head { | 134 struct ccs_modesel_head { |
| 135 » unsigned char _r1; | 135 unsigned char _r1; |
| 136 » unsigned char medium; | 136 unsigned char medium; |
| 137 » unsigned char _r2; | 137 unsigned char _r2; |
| 138 » unsigned char block_desc_length; | 138 unsigned char block_desc_length; |
| 139 » unsigned char density; | 139 unsigned char density; |
| 140 » unsigned char number_blocks_hi; | 140 unsigned char number_blocks_hi; |
| 141 » unsigned char number_blocks_med; | 141 unsigned char number_blocks_med; |
| 142 » unsigned char number_blocks_lo; | 142 unsigned char number_blocks_lo; |
| 143 » unsigned char _r3; | 143 unsigned char _r3; |
| 144 » unsigned char block_length_hi; | 144 unsigned char block_length_hi; |
| 145 » unsigned char block_length_med; | 145 unsigned char block_length_med; |
| 146 » unsigned char block_length_lo; | 146 unsigned char block_length_lo; |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 #endif | 149 #endif |
| 150 | |
| OLD | NEW |