home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 571.lha / SCSI_II_Documentation / SCSI2.LZH / SCSIDOC.001 < prev    next >
Text File  |  1991-08-11  |  9KB  |  245 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Scope                                                                   3/9/90
  8.  
  9. 1. Scope
  10.  
  11. This American National Standard defines an input/output bus for
  12. interconnecting computers and peripheral devices.  The standard defines
  13. extensions to the Small Computer System Interface (X3.131-1986), referred to
  14. herein as SCSI-1.  It also provides more complete standardization of the
  15. previously defined command sets.  The document includes the necessary
  16. specification of the mechanical, electrical, and functional characteristics of
  17. the interface to allow inter-operability of devices meeting the standard.
  18. This standard is referred to herein as SCSI-2.  The term SCSI is used wherever
  19. it is not necessary to distinguish between the two versions of SCSI.
  20.  
  21. SCSI is a local I/O bus that can be operated over a wide range of data rates.
  22. The primary objective of the interface is to provide host computers with
  23. device independence within a class of devices.  Thus, different disk drives,
  24. tape drives, printers, optical media drives, and other devices can be added to
  25. the host computers without requiring modifications to generic system hardware
  26. or software.  Provision is made for the addition of special features and
  27. functions through the use of vendor unique fields and codes.  Reserved fields
  28. and codes are provided for future standardization.
  29.  
  30. A second key objective of SCSI-2 is to provide compatibility with those SCSI-1
  31. devices that support bus parity and that meet conformance level 2 of SCSI-1.
  32. While some previously vendor unique commands and parameters have been defined
  33. by the SCSI-2 standard, devices meeting SCSI-1 and SCSI-2 can co-exist on the
  34. same bus.  It is intended that those operating systems providing support for
  35. both command sets be able to operate in environments mixing SCSI-1 and SCSI-2
  36. devices.  Properly conforming SCSI-1 devices, both initiators and targets,
  37. should respond in an acceptable manner to reject SCSI-2 protocol extensions.
  38. All SCSI-2 protocol extensions are designed to be permissive of such
  39. rejections and to allow the SCSI-1 device to continue operation without
  40. requiring the use of the extension.
  41.  
  42. A third key objective of SCSI-2 is to move device-dependent intelligence out
  43. to the SCSI-2 devices.  This requires the definition of a command set that
  44. allows a sophisticated operating system to obtain all required initialization
  45. information from the attached SCSI-2 devices.  The formalized sequence of
  46. requests identify the type of attached SCSI-2 device, the characteristics of
  47. the device, and all the changeable parameters supported by the device.
  48. Further requests can determine the readiness of the device to operate, the
  49. types of media supported by the device, and all other pertinent system
  50. information.  Those parameters not required by the operating system for
  51. operation, initialization, or system tuning are not exposed to the SCSI-2
  52. interface, but are managed by the SCSI-2 device itself.
  53.  
  54. The interface uses logical rather than physical addressing for all data
  55.  
  56.  
  57.  
  58.  
  59.  
  60. SCSI-2 draft proposed American National Standard        1-1      Revision 10c1
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. Scope                                                                   3/9/90
  69.  
  70. blocks.  For direct-access devices, each logical unit may be interrogated to
  71. determine how many blocks it contains.  A logical unit may coincide with all
  72. or part of a peripheral device.
  73.  
  74. The interface protocol includes provision for the connection of multiple
  75. initiators (SCSI devices capable of initiating an operation) and multiple
  76. targets (SCSI devices capable of responding to a request to perform an
  77. operation).  Distributed arbitration (i.e., bus-contention logic) is built
  78. into the architecture of SCSI.  A priority system awards interface control to
  79. the highest priority SCSI device that is contending for use of the bus.  The
  80. time to complete arbitration is independent of the number of devices that are
  81. contending and can be completed in less than 10 microseconds.
  82.  
  83. The physical characteristics are described in Section 4.  There are two
  84. electrical alternatives: single-ended and differential.  Single-ended and
  85. differential devices are electrically different and should not be mixed on the
  86. same bus.
  87.  
  88. Provision is made for cable lengths up to 25 meters using differential drivers
  89. and receivers.  A single-ended driver and receiver configuration is defined
  90. for cable lengths of up to 6 meters and is primarily intended for applications
  91. within a cabinet.
  92.  
  93. Section 5 describes the logical characteristics of the interface.  Arbitration
  94. is defined to permit multiple initiators and to permit concurrent I/O
  95. operations.  All SCSI devices are required to be capable of operating with the
  96. defined asynchronous transfer protocol.  In addition, an optional synchronous
  97. transfer protocol is defined.  Section 5 also specifies a message protocol for
  98. control of the interface.  In most cases, messages are not directly apparent
  99. to the host computer software.
  100.  
  101. The SCSI command and status structure is specified in Section 6.  Commands are
  102. classified as mandatory (M), optional (O), or vendor unique (V).  SCSI devices
  103. are required to implement all mandatory commands defined for the appropriate
  104. device type and may implement other commands as well.  SCSI devices contain
  105. commands that facilitate the writing of self-configuring software drivers that
  106. can "discover" all necessary attributes without prior knowledge of specific
  107. peripheral characteristics (such as storage capacity).  Many commands also
  108. implement a very large logical block address space (232 blocks), although some
  109. commands implement a somewhat smaller logical block address space (221
  110. blocks).
  111.  
  112. Section 7 specifies those commands that have a consistent meaning for all
  113. device types.
  114.  
  115. Sections 8 through 17 contain commands for direct-access (e.g., magnetic
  116. disk), sequential-access (e.g., magnetic tape), printer, processor, write-once
  117. (e.g., optical disk), CD-ROM devices, scanner devices, optical memory devices,
  118. medium changer devices, and communications devices, respectively.  The
  119. commands in each of these sections are unique to the device type, or they have
  120.  
  121. SCSI-2 draft proposed American National Standard        1-2      Revision 10c2
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Scope                                                                   3/9/90
  130.  
  131. interpretations, fields, or features that are specific for the device type.
  132. Thus, for example, although the WRITE command is used for several device
  133. types, it has a somewhat different form for each type, with different
  134. parameters and meanings.  Therefore, it is specified separately for each
  135. device type.
  136.  
  137. Starting with section 7 and for each section on a specific device type the
  138. section is constructed of at least four sub sections.  The first subsection is
  139. the model for the device type.  The model establishes the framework for
  140. interpreting the commands for the device type.  The attributes and
  141. capabilities of the device type are discussed and examples are given.  The
  142. second subsection defines the commands applicable to the device type.  The
  143. third subsection defines the parameters applicable to the device type.  These
  144. are the diagnostic parameters, log parameters, mode parameters and vital
  145. product data parameters that are transmitted as part of the appropriate
  146. commands.  Most of the parameters are formatted into pages.  The fourth
  147. subsection is the glossary of terms that apply to the device type.
  148. Appendixes A through C provide examples of SCSI signal sequences, timing, and
  149. phase sequences.  Appendix D contains information on other standards related
  150. to medium types and density codes for flexible disks and magnetic tapes.
  151. Appendix E describes data integrity in command queuing environments.  Appendix
  152. F describes normal procedures following a power-on condition.  Appendix G
  153. describes the worst case skew times for a fast SCSI implementation.  Appendix
  154. H contains information on other SCSI standardization activities.  Appendix I
  155. contains the additional sense codes and operation codes in numerical order.
  156. Appendix J contains the vendor identification codes as of the date of this
  157. document.  However, the appendixes are not a required part of this standard.
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182. SCSI-2 draft proposed American National Standard        1-3      Revision 10c3
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190. Scope                                                                   3/9/90
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.                      (This page is intentionally blank.)
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243. SCSI-2 draft proposed American National Standard        1-4      Revision 10c4
  244.  
  245.