1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * This header file contains public constants and structures used by 4 * both the SCSI initiator and the SCSI target code. 5 * 6 * For documentation on the OPCODES, MESSAGES, and SENSE values, 7 * please consult the SCSI standard. 8 */ 9 10 #ifndef _SCSI_PROTO_H_ 11 #define _SCSI_PROTO_H_ 12 13 #include <linux/build_bug.h> 14 #include <linux/types.h> 15 16 /* 17 * SCSI opcodes 18 */ 19 20 #define TEST_UNIT_READY 0x00 21 #define REZERO_UNIT 0x01 22 #define REQUEST_SENSE 0x03 23 #define FORMAT_UNIT 0x04 24 #define READ_BLOCK_LIMITS 0x05 25 #define REASSIGN_BLOCKS 0x07 26 #define INITIALIZE_ELEMENT_STATUS 0x07 27 #define READ_6 0x08 28 #define WRITE_6 0x0a 29 #define SEEK_6 0x0b 30 #define READ_REVERSE 0x0f 31 #define WRITE_FILEMARKS 0x10 32 #define SPACE 0x11 33 #define INQUIRY 0x12 34 #define RECOVER_BUFFERED_DATA 0x14 35 #define MODE_SELECT 0x15 36 #define RESERVE_6 0x16 37 #define RELEASE_6 0x17 38 #define COPY 0x18 39 #define ERASE 0x19 40 #define MODE_SENSE 0x1a 41 #define START_STOP 0x1b 42 #define RECEIVE_DIAGNOSTIC 0x1c 43 #define SEND_DIAGNOSTIC 0x1d 44 #define ALLOW_MEDIUM_REMOVAL 0x1e 45 46 #define READ_FORMAT_CAPACITIES 0x23 47 #define SET_WINDOW 0x24 48 #define READ_CAPACITY 0x25 49 #define READ_10 0x28 50 #define WRITE_10 0x2a 51 #define SEEK_10 0x2b 52 #define POSITION_TO_ELEMENT 0x2b 53 #define WRITE_VERIFY 0x2e 54 #define VERIFY 0x2f 55 #define SEARCH_HIGH 0x30 56 #define SEARCH_EQUAL 0x31 57 #define SEARCH_LOW 0x32 58 #define SET_LIMITS 0x33 59 #define PRE_FETCH 0x34 60 #define READ_POSITION 0x34 61 #define SYNCHRONIZE_CACHE 0x35 62 #define LOCK_UNLOCK_CACHE 0x36 63 #define READ_DEFECT_DATA 0x37 64 #define MEDIUM_SCAN 0x38 65 #define COMPARE 0x39 66 #define COPY_VERIFY 0x3a 67 #define WRITE_BUFFER 0x3b 68 #define READ_BUFFER 0x3c 69 #define UPDATE_BLOCK 0x3d 70 #define READ_LONG 0x3e 71 #define WRITE_LONG 0x3f 72 #define CHANGE_DEFINITION 0x40 73 #define WRITE_SAME 0x41 74 #define UNMAP 0x42 75 #define READ_TOC 0x43 76 #define READ_HEADER 0x44 77 #define GET_EVENT_STATUS_NOTIFICATION 0x4a 78 #define LOG_SELECT 0x4c 79 #define LOG_SENSE 0x4d 80 #define XDWRITEREAD_10 0x53 81 #define MODE_SELECT_10 0x55 82 #define RESERVE_10 0x56 83 #define RELEASE_10 0x57 84 #define MODE_SENSE_10 0x5a 85 #define PERSISTENT_RESERVE_IN 0x5e 86 #define PERSISTENT_RESERVE_OUT 0x5f 87 #define VARIABLE_LENGTH_CMD 0x7f 88 #define REPORT_LUNS 0xa0 89 #define SECURITY_PROTOCOL_IN 0xa2 90 #define MAINTENANCE_IN 0xa3 91 #define MAINTENANCE_OUT 0xa4 92 #define MOVE_MEDIUM 0xa5 93 #define EXCHANGE_MEDIUM 0xa6 94 #define READ_12 0xa8 95 #define SERVICE_ACTION_OUT_12 0xa9 96 #define WRITE_12 0xaa 97 #define READ_MEDIA_SERIAL_NUMBER 0xab /* Obsolete with SPC-2 */ 98 #define SERVICE_ACTION_IN_12 0xab 99 #define WRITE_VERIFY_12 0xae 100 #define VERIFY_12 0xaf 101 #define SEARCH_HIGH_12 0xb0 102 #define SEARCH_EQUAL_12 0xb1 103 #define SEARCH_LOW_12 0xb2 104 #define SECURITY_PROTOCOL_OUT 0xb5 105 #define READ_ELEMENT_STATUS 0xb8 106 #define SEND_VOLUME_TAG 0xb6 107 #define WRITE_LONG_2 0xea 108 #define EXTENDED_COPY 0x83 109 #define RECEIVE_COPY_RESULTS 0x84 110 #define ACCESS_CONTROL_IN 0x86 111 #define ACCESS_CONTROL_OUT 0x87 112 #define READ_16 0x88 113 #define COMPARE_AND_WRITE 0x89 114 #define WRITE_16 0x8a 115 #define READ_ATTRIBUTE 0x8c 116 #define WRITE_ATTRIBUTE 0x8d 117 #define WRITE_VERIFY_16 0x8e 118 #define VERIFY_16 0x8f 119 #define SYNCHRONIZE_CACHE_16 0x91 120 #define WRITE_SAME_16 0x93 121 #define ZBC_OUT 0x94 122 #define ZBC_IN 0x95 123 #define WRITE_ATOMIC_16 0x9c 124 #define SERVICE_ACTION_BIDIRECTIONAL 0x9d 125 #define SERVICE_ACTION_IN_16 0x9e 126 #define SERVICE_ACTION_OUT_16 0x9f 127 /* values for service action in */ 128 #define SAI_READ_CAPACITY_16 0x10 129 #define SAI_GET_LBA_STATUS 0x12 130 #define SAI_REPORT_REFERRALS 0x13 131 #define SAI_GET_STREAM_STATUS 0x16 132 #define SAI_GET_PHYSICAL_ELEMENT_STATUS 0x17 133 #define SAI_REMOVE_ELEMENT_AND_TRUNCATE 0x18 134 #define SAI_RESTORE_ELEMENTS_AND_REBUILD 0x19 135 #define SAI_REMOVE_ELEMENT_AND_MODIFY_ZONES 0x1a 136 /* values for maintenance in */ 137 #define MI_REPORT_IDENTIFYING_INFORMATION 0x05 138 #define MI_REPORT_TARGET_PGS 0x0a 139 #define MI_REPORT_ALIASES 0x0b 140 #define MI_REPORT_SUPPORTED_OPERATION_CODES 0x0c 141 #define MI_REPORT_SUPPORTED_TASK_MANAGEMENT_FUNCTIONS 0x0d 142 #define MI_REPORT_PRIORITY 0x0e 143 #define MI_REPORT_TIMESTAMP 0x0f 144 #define MI_MANAGEMENT_PROTOCOL_IN 0x10 145 /* value for MI_REPORT_TARGET_PGS ext header */ 146 #define MI_EXT_HDR_PARAM_FMT 0x20 147 /* values for maintenance out */ 148 #define MO_SET_IDENTIFYING_INFORMATION 0x06 149 #define MO_SET_TARGET_PGS 0x0a 150 #define MO_CHANGE_ALIASES 0x0b 151 #define MO_SET_PRIORITY 0x0e 152 #define MO_SET_TIMESTAMP 0x0f 153 #define MO_MANAGEMENT_PROTOCOL_OUT 0x10 154 /* values for ZBC_IN */ 155 #define ZI_REPORT_ZONES 0x00 156 /* values for ZBC_OUT */ 157 #define ZO_CLOSE_ZONE 0x01 158 #define ZO_FINISH_ZONE 0x02 159 #define ZO_OPEN_ZONE 0x03 160 #define ZO_RESET_WRITE_POINTER 0x04 161 /* values for PR in service action */ 162 #define READ_KEYS 0x00 163 #define READ_RESERVATION 0x01 164 #define REPORT_CAPABILITES 0x02 165 #define READ_FULL_STATUS 0x03 166 /* values for variable length command */ 167 #define XDREAD_32 0x03 168 #define XDWRITE_32 0x04 169 #define XPWRITE_32 0x06 170 #define XDWRITEREAD_32 0x07 171 #define READ_32 0x09 172 #define VERIFY_32 0x0a 173 #define WRITE_32 0x0b 174 #define WRITE_VERIFY_32 0x0c 175 #define WRITE_SAME_32 0x0d 176 #define ATA_32 0x1ff0 177 178 /* Values for T10/04-262r7 */ 179 #define ATA_16 0x85 /* 16-byte pass-thru */ 180 #define ATA_12 0xa1 /* 12-byte pass-thru */ 181 182 /* Vendor specific CDBs start here */ 183 #define VENDOR_SPECIFIC_CDB 0xc0 184 185 /* 186 * SCSI command lengths 187 */ 188 189 #define SCSI_MAX_VARLEN_CDB_SIZE 260 190 191 /* defined in T10 SCSI Primary Commands-2 (SPC2) */ 192 struct scsi_varlen_cdb_hdr { 193 __u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */ 194 __u8 control; 195 __u8 misc[5]; 196 __u8 additional_cdb_length; /* total cdb length - 8 */ 197 __be16 service_action; 198 /* service specific data follows */ 199 }; 200 201 /* 202 * SCSI Architecture Model (SAM) Status codes. Taken from SAM-3 draft 203 * T10/1561-D Revision 4 Draft dated 7th November 2002. 204 */ 205 enum sam_status { 206 SAM_STAT_GOOD = 0x00, 207 SAM_STAT_CHECK_CONDITION = 0x02, 208 SAM_STAT_CONDITION_MET = 0x04, 209 SAM_STAT_BUSY = 0x08, 210 SAM_STAT_INTERMEDIATE = 0x10, 211 SAM_STAT_INTERMEDIATE_CONDITION_MET = 0x14, 212 SAM_STAT_RESERVATION_CONFLICT = 0x18, 213 SAM_STAT_COMMAND_TERMINATED = 0x22, /* obsolete in SAM-3 */ 214 SAM_STAT_TASK_SET_FULL = 0x28, 215 SAM_STAT_ACA_ACTIVE = 0x30, 216 SAM_STAT_TASK_ABORTED = 0x40, 217 }; 218 219 #define STATUS_MASK 0xfe 220 221 /* 222 * SENSE KEYS 223 */ 224 #define NO_SENSE 0x00 225 #define RECOVERED_ERROR 0x01 226 #define NOT_READY 0x02 227 #define MEDIUM_ERROR 0x03 228 #define HARDWARE_ERROR 0x04 229 #define ILLEGAL_REQUEST 0x05 230 #define UNIT_ATTENTION 0x06 231 #define DATA_PROTECT 0x07 232 #define BLANK_CHECK 0x08 233 #define VENDOR_SPECIFIC 0x09 234 #define COPY_ABORTED 0x0a 235 #define ABORTED_COMMAND 0x0b 236 #define VOLUME_OVERFLOW 0x0d 237 #define MISCOMPARE 0x0e 238 #define COMPLETED 0x0f 239 240 /* 241 * Additional Sense Codes (ASC). 242 */ 243 #define NO_ADDITIONAL_SENSE 0x00 244 #define OVERLAP_ATOMIC_COMMAND_ASC 0x00 245 #define LOGICAL_UNIT_NOT_READY 0x04 246 #define LOGICAL_UNIT_COMMUNICATION_FAILURE 0x8 247 #define WRITE_ERROR_ASC 0x0c 248 #define UNRECOVERED_READ_ERR 0x11 249 #define PARAMETER_LIST_LENGTH_ERR 0x1a 250 #define MISCOMPARE_VERIFY_ASC 0x1d 251 #define INVALID_OPCODE 0x20 252 #define LBA_OUT_OF_RANGE 0x21 253 #define INVALID_FIELD_IN_CDB 0x24 254 #define INVALID_FIELD_IN_PARAM_LIST 0x26 255 #define WRITE_PROTECTED 0x27 256 #define UA_READY_ASC 0x28 257 #define UA_RESET_ASC 0x29 258 #define UA_CHANGED_ASC 0x2a 259 #define TOO_MANY_IN_PARTITION_ASC 0x3b 260 #define TARGET_CHANGED_ASC 0x3f 261 #define SAVING_PARAMS_UNSUP 0x39 262 #define TRANSPORT_PROBLEM 0x4b 263 #define INSUFF_RES_ASC 0x55 264 #define LOW_POWER_COND_ON 0x5e 265 #define THRESHOLD_EXCEEDED 0x5d 266 267 /* 268 * Additional Sense Code Qualifiers (ASCQ). 269 */ 270 #define POWER_ON_RESET_ASCQ 0x00 271 #define MODE_CHANGED_ASCQ 0x01 /* mode parameters changed */ 272 #define FILEMARK_DETECTED_ASCQ 0x01 273 #define POWER_ON_OCCURRED_ASCQ 0x01 274 #define MICROCODE_CHANGED_ASCQ 0x01 /* with TARGET_CHANGED_ASC */ 275 #define BUS_RESET_ASCQ 0x02 /* scsi bus reset occurred */ 276 #define EOP_EOM_DETECTED_ASCQ 0x02 277 #define INSUFF_RES_ASCQ 0x03 278 #define BEGINNING_OF_P_M_DETECTED_ASCQ 0x04 279 #define UNALIGNED_WRITE_ASCQ 0x04 280 #define EOD_DETECTED_ASCQ 0x05 281 #define WRITE_BOUNDARY_ASCQ 0x05 282 #define READ_INVDATA_ASCQ 0x06 283 #define READ_BOUNDARY_ASCQ 0x07 284 #define CAPACITY_CHANGED_ASCQ 0x09 285 #define ATTEMPT_ACCESS_GAP 0x09 286 #define LUNS_CHANGED_ASCQ 0x0e 287 #define INSUFF_ZONE_ASCQ 0x0e 288 #define MICROCODE_CHANGED_WO_RESET_ASCQ 0x16 289 #define OVERLAP_ATOMIC_COMMAND_ASCQ 0x23 290 291 /* 292 * DEVICE TYPES 293 * Please keep them in 0x%02x format for $MODALIAS to work 294 */ 295 296 #define TYPE_DISK 0x00 297 #define TYPE_TAPE 0x01 298 #define TYPE_PRINTER 0x02 299 #define TYPE_PROCESSOR 0x03 /* HP scanners use this */ 300 #define TYPE_WORM 0x04 /* Treated as ROM by our system */ 301 #define TYPE_ROM 0x05 302 #define TYPE_SCANNER 0x06 303 #define TYPE_MOD 0x07 /* Magneto-optical disk - 304 * - treated as TYPE_DISK */ 305 #define TYPE_MEDIUM_CHANGER 0x08 306 #define TYPE_COMM 0x09 /* Communications device */ 307 #define TYPE_RAID 0x0c 308 #define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */ 309 #define TYPE_RBC 0x0e 310 #define TYPE_OSD 0x11 311 #define TYPE_ZBC 0x14 312 #define TYPE_WLUN 0x1e /* well-known logical unit */ 313 #define TYPE_NO_LUN 0x7f 314 315 /* SCSI protocols; these are taken from SPC-3 section 7.5 */ 316 enum scsi_protocol { 317 SCSI_PROTOCOL_FCP = 0, /* Fibre Channel */ 318 SCSI_PROTOCOL_SPI = 1, /* parallel SCSI */ 319 SCSI_PROTOCOL_SSA = 2, /* Serial Storage Architecture - Obsolete */ 320 SCSI_PROTOCOL_SBP = 3, /* firewire */ 321 SCSI_PROTOCOL_SRP = 4, /* Infiniband RDMA */ 322 SCSI_PROTOCOL_ISCSI = 5, 323 SCSI_PROTOCOL_SAS = 6, 324 SCSI_PROTOCOL_ADT = 7, /* Media Changers */ 325 SCSI_PROTOCOL_ATA = 8, 326 SCSI_PROTOCOL_UNSPEC = 0xf, /* No specific protocol */ 327 }; 328 329 /* 330 * ScsiLun: 8 byte LUN. 331 */ 332 struct scsi_lun { 333 __u8 scsi_lun[8]; 334 }; 335 336 /* SBC-5 IO advice hints group descriptor */ 337 struct scsi_io_group_descriptor { 338 #if defined(__BIG_ENDIAN) 339 u8 io_advice_hints_mode: 2; 340 u8 reserved1: 3; 341 u8 st_enble: 1; 342 u8 cs_enble: 1; 343 u8 ic_enable: 1; 344 #elif defined(__LITTLE_ENDIAN) 345 u8 ic_enable: 1; 346 u8 cs_enble: 1; 347 u8 st_enble: 1; 348 u8 reserved1: 3; 349 u8 io_advice_hints_mode: 2; 350 #else 351 #error 352 #endif 353 u8 reserved2[3]; 354 /* Logical block markup descriptor */ 355 #if defined(__BIG_ENDIAN) 356 u8 acdlu: 1; 357 u8 reserved3: 1; 358 u8 rlbsr: 2; 359 u8 lbm_descriptor_type: 4; 360 #elif defined(__LITTLE_ENDIAN) 361 u8 lbm_descriptor_type: 4; 362 u8 rlbsr: 2; 363 u8 reserved3: 1; 364 u8 acdlu: 1; 365 #else 366 #error 367 #endif 368 u8 params[2]; 369 u8 reserved4; 370 u8 reserved5[8]; 371 }; 372 373 static_assert(sizeof(struct scsi_io_group_descriptor) == 16); 374 375 /* SCSI stream status descriptor */ 376 struct scsi_stream_status { 377 #if defined(__BIG_ENDIAN) 378 u8 perm: 1; 379 u8 reserved1: 7; 380 #elif defined(__LITTLE_ENDIAN) 381 u8 reserved1: 7; 382 u8 perm: 1; 383 #else 384 #error 385 #endif 386 u8 reserved2; 387 __be16 stream_identifier; 388 #if defined(__BIG_ENDIAN) 389 u8 reserved3: 2; 390 u8 rel_lifetime: 6; 391 #elif defined(__LITTLE_ENDIAN) 392 u8 rel_lifetime: 6; 393 u8 reserved3: 2; 394 #else 395 #error 396 #endif 397 u8 reserved4[3]; 398 }; 399 400 static_assert(sizeof(struct scsi_stream_status) == 8); 401 402 /* GET STREAM STATUS parameter data */ 403 struct scsi_stream_status_header { 404 __be32 len; /* length in bytes of following payload */ 405 u16 reserved; 406 __be16 number_of_open_streams; 407 }; 408 409 static_assert(sizeof(struct scsi_stream_status_header) == 8); 410 411 /* SPC asymmetric access states */ 412 #define SCSI_ACCESS_STATE_OPTIMAL 0x00 413 #define SCSI_ACCESS_STATE_ACTIVE 0x01 414 #define SCSI_ACCESS_STATE_STANDBY 0x02 415 #define SCSI_ACCESS_STATE_UNAVAILABLE 0x03 416 #define SCSI_ACCESS_STATE_LBA 0x04 417 #define SCSI_ACCESS_STATE_OFFLINE 0x0e 418 #define SCSI_ACCESS_STATE_TRANSITIONING 0x0f 419 420 /* Values for REPORT TARGET GROUP STATES */ 421 #define SCSI_ACCESS_STATE_MASK 0x0f 422 #define SCSI_ACCESS_STATE_PREFERRED 0x80 423 424 /* Reporting options for REPORT ZONES */ 425 enum zbc_zone_reporting_options { 426 ZBC_ZONE_REPORTING_OPTION_ALL = 0x00, 427 ZBC_ZONE_REPORTING_OPTION_EMPTY = 0x01, 428 ZBC_ZONE_REPORTING_OPTION_IMPLICIT_OPEN = 0x02, 429 ZBC_ZONE_REPORTING_OPTION_EXPLICIT_OPEN = 0x03, 430 ZBC_ZONE_REPORTING_OPTION_CLOSED = 0x04, 431 ZBC_ZONE_REPORTING_OPTION_FULL = 0x05, 432 ZBC_ZONE_REPORTING_OPTION_READONLY = 0x06, 433 ZBC_ZONE_REPORTING_OPTION_OFFLINE = 0x07, 434 /* 0x08 to 0x0f are reserved */ 435 ZBC_ZONE_REPORTING_OPTION_NEED_RESET_WP = 0x10, 436 ZBC_ZONE_REPORTING_OPTION_NON_SEQWRITE = 0x11, 437 /* 0x12 to 0x3e are reserved */ 438 ZBC_ZONE_REPORTING_OPTION_NON_WP = 0x3f, 439 }; 440 441 #define ZBC_REPORT_ZONE_PARTIAL 0x80 442 443 /* Zone types of REPORT ZONES zone descriptors */ 444 enum zbc_zone_type { 445 ZBC_ZONE_TYPE_CONV = 0x1, 446 ZBC_ZONE_TYPE_SEQWRITE_REQ = 0x2, 447 ZBC_ZONE_TYPE_SEQWRITE_PREF = 0x3, 448 ZBC_ZONE_TYPE_SEQ_OR_BEFORE_REQ = 0x4, 449 ZBC_ZONE_TYPE_GAP = 0x5, 450 /* 0x6 to 0xf are reserved */ 451 }; 452 453 /* Zone conditions of REPORT ZONES zone descriptors */ 454 enum zbc_zone_cond { 455 ZBC_ZONE_COND_NO_WP = 0x0, 456 ZBC_ZONE_COND_EMPTY = 0x1, 457 ZBC_ZONE_COND_IMP_OPEN = 0x2, 458 ZBC_ZONE_COND_EXP_OPEN = 0x3, 459 ZBC_ZONE_COND_CLOSED = 0x4, 460 /* 0x5 to 0xc are reserved */ 461 ZBC_ZONE_COND_READONLY = 0xd, 462 ZBC_ZONE_COND_FULL = 0xe, 463 ZBC_ZONE_COND_OFFLINE = 0xf, 464 }; 465 466 enum zbc_zone_alignment_method { 467 ZBC_CONSTANT_ZONE_LENGTH = 0x1, 468 ZBC_CONSTANT_ZONE_START_OFFSET = 0x8, 469 }; 470 471 /* SCSI physical element types */ 472 enum scsi_phys_element_type { 473 SCSI_PHYS_ELEM_TYPE_ALL_ACCESS_STORAGE = 0x1, 474 SCSI_PHYS_ELEM_TYPE_FRAC_ACCESS_STORAGE = 0x2, 475 }; 476 477 /* SCSI physical element health. */ 478 enum scsi_phys_element_health { 479 SCSI_PHYS_ELEM_HEALTH_NOT_REPORTED = 0x00, 480 SCSI_PHYS_ELEM_HEALTH_WITHIN_SPEC_LIMITS = 0x01, 481 SCSI_PHYS_ELEM_HEALTH_AT_SPEC_LIMITS = 0x64, 482 SCSI_PHYS_ELEM_HEALTH_OUTSIDE_SPEC_LIMITS = 0x65, 483 SCSI_PHYS_ELEM_HEALTH_DEPOP_REVOKE_ERR = 0xFB, 484 SCSI_PHYS_ELEM_HEALTH_DEPOP_REVOKE_IN_PROGRESS = 0xFC, 485 SCSI_PHYS_ELEM_HEALTH_DEPOP_ERR = 0xFD, 486 SCSI_PHYS_ELEM_HEALTH_DEPOP_IN_PROGRESS = 0xFE, 487 SCSI_PHYS_ELEM_HEALTH_DEPOP_OK = 0xFF, 488 }; 489 490 /* Version descriptor values for INQUIRY */ 491 enum scsi_version_descriptor { 492 SCSI_VERSION_DESCRIPTOR_FCP4 = 0x0a40, 493 SCSI_VERSION_DESCRIPTOR_ISCSI = 0x0960, 494 SCSI_VERSION_DESCRIPTOR_SAM5 = 0x00a0, 495 SCSI_VERSION_DESCRIPTOR_SAS3 = 0x0c60, 496 SCSI_VERSION_DESCRIPTOR_SBC3 = 0x04c0, 497 SCSI_VERSION_DESCRIPTOR_SBP3 = 0x0980, 498 SCSI_VERSION_DESCRIPTOR_SPC4 = 0x0460, 499 SCSI_VERSION_DESCRIPTOR_SRP = 0x0940 500 }; 501 502 enum scsi_support_opcode { 503 SCSI_SUPPORT_NO_INFO = 0, 504 SCSI_SUPPORT_NOT_SUPPORTED = 1, 505 SCSI_SUPPORT_FULL = 3, 506 SCSI_SUPPORT_VENDOR = 5, 507 }; 508 509 #define SCSI_CONTROL_MASK 0 510 #define SCSI_GROUP_NUMBER_MASK 0 511 512 #endif /* _SCSI_PROTO_H_ */ 513