home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / S2R10_C.ZIP / S2R10C17.SI < prev    next >
Text File  |  1990-03-09  |  30KB  |  643 lines

  1. .RR--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!
  2. .PL 62
  3. .LM 1
  4. .RM 78
  5. .MT3
  6. .MB4
  7. .HM1
  8. .FM1
  9. .PO10
  10. .CW10
  11. .SR2
  12. .UJ0
  13. .OJ0
  14. .UL1
  15. .heCommunications Devices                                                  3/9/90
  16. .foSCSI-2 draft proposed American National Standard        17-#     Revision 10c
  17. .pn 1
  18. .cp 30
  19. .aw off
  20. .pm 0
  21. 17. Communications Devices
  22. .aw on
  23. .pm 3
  24.  
  25.  
  26. .cp 20
  27. .aw off
  28. .pm 0
  29. 17.1. Communications Device Model
  30. .aw on
  31. .pm 3
  32.  
  33. áá┴ communication≤ devicσ provide≤ ß facilit∙ t∩ senΣ anΣ receivσ informatioε ì
  34. ove≥ somσ mediuφ (usuall∙ aε electrica∞ o≥ fibe≥-optiπ cable⌐ usinτ ß defineΣ ì
  35. protoco∞ t∩ onσ o≥ morσ othe≥ system≤ whicΦ suppor⌠ thσ samσ protocol«  Thσ ì
  36. mediß anΣ protocol≤ arσ ofteε specifieΣ iε nationa∞ o≥ internationa∞ ì
  37. standards¼ althougΦ somσ arσ proprietary«  Withiε thi≤ section¼ thσ protoco∞ ì
  38. useΣ oε thσ externa∞ mediuφ i≤ calleΣ thσ "externa∞ protocol".
  39.  
  40. ááThσ SCS╔ communication≤ devicσ mode∞ assume≤ tha⌠ informatioε t∩ contro∞ thσ ì
  41. externa∞ protoco∞ i≤ embeddeΣ withiε thσ datß transferreΣ b∙ thσ SEN─ anΣ GE╘ ì
  42. MESSAG┼ commands«  Thσ structurσ oµ thσ datß transferreΣ b∙ thesσ command≤ i≤ ì
  43. no⌠ defineΣ b∙ thi≤ standard«  Vendo≥-uniquσ MOD┼ page≤ ma∙ bσ defineΣ t∩ ì
  44. providσ additiona∞ contro∞ ove≥ thσ externa∞ protocol.
  45.  
  46. ááThσ SCS╔ communication≤ devicσ i≤ ß targe⌠ witΦ thσ characteristic≤ oµ ß ì
  47. networδ acces≤ device¼ typicall∙ attacheΣ t∩ ß loca∞ areß networδ (LAN)¼ ì
  48. publiπ telecommunication≤ network¼ privatσ telecommunication≤ network¼ o≥ ì
  49. packe⌠ switchinτ network¼ etc.¼ witΦ n∩ theoretica∞ limits«  SucΦ ß ì
  50. communication≤ devicσ i≤ ofteε calleΣ ß networδ node«  Thσ communication≤ ì
  51. devicσ transmit≤ o≥ receive≤ packet≤ oµ datß a≤ requesteΣ b∙ thσ initiator«  ì
  52. Thσ content≤ anΣ meaninτ oµ thσ datß packet≤ i≤ no⌠ defineΣ b∙ thi≤ standard«  ì
  53. Thσ byte≤ iε thσ datß packet≤ ma∙ o≥ ma∙ no⌠ contaiε addressing¼ patΦ ì
  54. selection¼ o≥ patΦ contro∞ informatioε identifyinτ separatσ datß streams«  ì
  55. Additiona∞ informatioε ma∙ bσ provideΣ b∙ thσ streaφ selectioε identifie≥ ì
  56. founΣ iε thσ teε anΣ twelvσ bytσ SEN─ MESSAG┼ anΣ GE╘ MESSAG┼ commands.
  57.  
  58. ááIε thσ SCS╔ communication≤ device¼ thσ targe⌠ accept≤ anΣ provide≤ thσ datß ì
  59. packet≤ transferreΣ iε accordancσ witΦ command≤ receiveΣ froφ thσ initiator«  ì
  60. Therσ i≤ aε assumptioε tha⌠ thσ initiato≥ anΣ thσ communication≤ devicσ kno≈ ì
  61. thσ rule≤ b∙ whicΦ informatioε i≤ exchangeΣ betweeε them¼ ho≈ thσ informatioε ì
  62. i≤ t∩ bσ interpreteΣ b∙ thσ communication≤ device¼ anΣ wheε i⌠ i≤ allowablσ t∩ ì
  63. exchangσ thσ information«  Thesσ rule≤ arσ no⌠ specifieΣ b∙ thi≤ standard.
  64.  
  65. ááThσ initiato≥ request≤ tha⌠ thσ communication≤ devicσ accep⌠ ß packe⌠ oµ ì
  66. datß b∙ transmittinτ ß SEN─ MESSAG┼ command«  Thσ initiato≥ request≤ tha⌠ thσ ì
  67. communication≤ devicσ returε ß packe⌠ oµ datß b∙ transmittinτ ß GE╘ MESSAG┼ ì
  68. command«  Thσ communication≤ devicσ als∩ support≤ command≤ relateΣ t∩ ì
  69. configuratioε oµ thσ networδ acces≤ devicσ anΣ networδ managemen⌠ oµ thσ ì
  70. particula≥ environment«  MOD┼ SENS┼ anΣ MOD┼ SELEC╘ arσ example≤ oµ thesσ ì
  71. configuratioε commands.
  72.  
  73. .cp 15èááIµ ß communication≤ devicσ temporaril∙ ha≤ n∩ resourcσ availablσ t∩ handlσ ß ì
  74. datß packe⌠ froφ thσ initiator¼ o≥ ha≤ n∩ datß packe⌠ t∩ providσ t∩ thσ ì
  75. initiator¼ o≥ ha≤ n∩ resource≤ assigneΣ t∩ perforφ thσ operation¼ thσ devicσ ì
  76. ma∙ theε choosσ onσ oµ thσ followinτ responses║    
  77. áá(1⌐  Terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ status«  Thσ sensσ ke∙ shal∞ ì
  78. bσ se⌠ t∩ NO╘ READ┘ anΣ thσ appropriatσ additiona∞ sensσ codσ fo≥ thσ ì
  79. condition.
  80. áá(2⌐  Disconnec⌠ unti∞ thσ necessar∙ resourcσ o≥ datß packe⌠ become≤ ì
  81. available¼ anΣ theε reconnec⌠ t∩ thσ initiato≥ anΣ resumσ thσ operation.
  82. áá(3⌐  Terminatσ thσ commanΣ witΦ BUS┘ status.
  83. .lm 1
  84.  
  85. ááMorσ thaε onσ logica∞ uni⌠  caε bσ implementeΣ b∙ ß communication≤ device«   ì
  86. logica∞ unit≤ caε servσ a≤ multiplσ path≤ t∩ ß singlσ networδ acces≤ device¼ ì
  87. and/o≥ eacΦ logica∞ uni⌠ caε servσ a≤ ß discretσ patΦ t∩ differen⌠ resource≤ ì
  88. withiε thσ device«  ┴ singlσ logica∞ uni⌠ ma∙ als∩ servσ a≤ ß patΦ t∩ multiplσ ì
  89. resource≤ iµ thσ communication≤ devicσ caε interpre⌠ informatioε withiε thσ ì
  90. datß packe⌠ anΣ routσ thσ packe⌠ t∩ thσ appropriatσ resource«  Iµ thσ logica∞ ì
  91. uni⌠ addresseΣ b∙ thσ initiato≥ doe≤ no⌠ havσ aε availablσ resourcσ o≥ datß ì
  92. packe⌠ associateΣ witΦ it¼ thσ communication≤ devicσ ma∙ choosσ t∩ trea⌠ thσ ì
  93. logica∞ uni⌠ a≤ aε invaliΣ logica∞ uni⌠ (seσ sectioε 6.5.3⌐ o≥ responΣ a≤ ì
  94. describeΣ iε thσ previou≤ paragraph.
  95.  
  96. ááIµ thσ communication≤ devicσ determine≤ tha⌠ aε erro≥ o≥ unusua∞ conditioε ì
  97. ha≤ occurreΣ whilσ performinτ aε operatioε specifieΣ b∙ thσ content≤ oµ ß datß ì
  98. packet¼ thσ informatioε describinτ thσ conditioε i≤ normall∙ returneΣ a≤ ß ì
  99. par⌠ oµ ß datß packe⌠ froφ anothe≥ networδ device«  Iµ thσ communication≤ ì
  100. devicσ determine≤ tha⌠ aε erro≥ o≥ unusua∞ conditioε ha≤ occurreΣ whilσ eithe≥ ì
  101. executinτ thσ SCS╔ commanΣ froφ thσ initiator¼ o≥ durinτ ß networδ mediuφ ì
  102. acces≤ transaction¼ thσ commanΣ i≤ terminateΣ witΦ ß CHEC╦ CONDITION«  Thσ ì
  103. failure≤ arσ identifieΣ througΦ ß REQUES╘ SENS┼ command.
  104.  
  105. ááThσ SCS╔ communication≤ devicσ i≤ distinguisheΣ froφ ß SCS╔ processo≥ devicσ ì
  106. b∙ thσ fac⌠ tha⌠ thσ primar∙ destinatioε oµ thσ datß packet≤ transferreΣ t∩ ì
  107. thσ communication≤ devicσ i≤ no⌠ thσ targe⌠ devicσ itself¼ bu⌠ anothe≥ networδ ì
  108. node«  ┴ SCS╔ communication≤ devicσ passe≤ thσ datß oε t∩ aε ultimatσ ì
  109. destinatioε outsidσ thσ targe⌠ througΦ ß network«  Iε contrast¼ thσ SCS╔ ì
  110. processo≥ devicσ i≤ itselµ thσ primar∙ destinatioε oµ thσ datß packets«  ì
  111. Device≤ requirinτ protocol≤ anΣ commanΣ set≤ tha⌠ arσ totall∙ incompatiblσ ì
  112. witΦ thσ communication≤ devicσ protocol≤ shoulΣ bσ examineΣ carefull∙ t∩ bσ ì
  113. surσ tha⌠ thσ incompatibilitie≤ arσ baseΣ oε functiona∞ requirements«  
  114.  
  115. .cp 20è.aw off
  116. .pm 0
  117. 17.1.1. Implementatioε Examples
  118. .aw on
  119. .pm 3
  120.  
  121. ááSevera∞ example≤ oµ communication≤ devicσ implementation≤ arσ provideΣ t∩ ì
  122. clarif∙ thσ rangσ oµ utilit∙ oµ thi≤ devicσ type.
  123.  
  124. .cp 5
  125. .aw off
  126. .pm 0
  127. 17.1.1.1. Hos⌠ t∩ Hos⌠ Communication≤ 
  128. .aw on
  129. .pm 3
  130.  
  131. ááIε thi≤ examplσ oµ hos⌠ t∩ hos⌠ communication≤ onl∙ thσ SEN─ MESSAG┼ commanΣ ì
  132. i≤ used.
  133.  
  134. áá┴ communication≤ devicσ (Comφ A⌐ i≤ attacheΣ t∩ ß networδ (Ne⌠ A⌐ anΣ ì
  135. anothe≥ communication≤ devicσ (Comφ B⌐  i≤ attacheΣ t∩ ß networδ (Ne⌠ B)«  ì
  136. Comφ ┴ take≤ thσ initiato≥ rolσ anΣ select≤ ß communication≤ devicσ (Comφ B)¼ ì
  137. transmittinτ ß packe⌠ t∩ Comφ ┬ usinτ thσ SEN─ MESSAG┼ command«  Afte≥ ì
  138. transmittinτ thσ packe⌠ oε thσ attacheΣ networδ mediuφ (Ne⌠ B)¼ thσ actioε ì
  139. requireΣ b∙ thσ SEN─ MESSAG┼ command¼ Comφ ┬ assume≤ thσ initiato≥ modσ anΣ ì
  140. select≤ Comφ ┴ a≤ ß communication≤ devicσ anΣ use≤ ß SEN─ MESSAG┼ commanΣ t∩ ì
  141. transmi⌠ ß packe⌠ oε thσ networδ (Ne⌠ A⌐ attacheΣ t∩ Comφ A«  Notσ tha⌠ thσ ì
  142. SEN─ MESSAG┼ commanΣ i≤ sufficien⌠ t∩ perforφ completσ transaction≤ betweeε ì
  143. communication≤ device≤ iµ Comφ ┴ anΣ Comφ ┬ ac⌠ a≤ initiators«  Thi≤ provide≤ ì
  144. thσ functioε oµ ß networδ bridgσ o≥ gatewa∙ fo≥ higΦ bandwidtΦ ì
  145. intercommunicatioε amonτ nearb∙ hos⌠ processors.
  146.  
  147. .cp 5
  148. .aw off
  149. .pm 0
  150. 17.1.1.2. Hos⌠ t∩ Devicσ Communications 
  151. .aw on
  152. .pm 3
  153.  
  154. ááIε thi≤ examplσ oµ hos⌠ t∩ devicσ communication≤ thσ SEN─ MESSAG┼ anΣ GE╘ ì
  155. MESSAG┼ command≤ arσ used.
  156.  
  157. áá┴ hos⌠ system¼ Hos⌠ A¼ take≤ thσ initiato≥ rolσ anΣ select≤ ß communication≤ ì
  158. devicσ (Comφ A⌐ attacheΣ t∩ ß networδ (Ne⌠ A)¼ transmittinτ ß packe⌠ oε ì
  159. networδ Ne⌠ ┴ t∩ somσ othe≥ networδ node(s⌐ usinτ thσ SEN─ MESSAG┼ commanΣ t∩ ì
  160. Comφ A«  Hos⌠ ┴ theε assume≤ tha⌠ ß resul⌠ wil∞ bσ obtaineΣ b∙ thσ othe≥ ì
  161. networδ node(s⌐ consisten⌠ witΦ rule≤ understooΣ b∙ al∞ involveΣ networδ ì
  162. devices«  Hos⌠ ┴ generate≤ ß GE╘ MESSAG┼ commanΣ t∩ obtaiε packet≤ froφ othe≥ ì
  163. networδ nodes«  Iµ therσ arσ n∩ packet≤ tha⌠ neeΣ handlinτ pendinτ a⌠ Comφ A¼ ì
  164. Comφ ┴ ma∙ disconnec⌠ unti∞ ß packe⌠ arrives«  Comφ ┴ caε theε completσ thσ ì
  165. transaction¼  reconnec⌠ t∩ Hos⌠ ┴ anΣ thσ requesteΣ datß packe⌠ caε bσ ì
  166. returneΣ t∩ Hos⌠ A«  Notσ tha⌠ Hos⌠ ┴ neeΣ no⌠ suppor⌠ targe⌠ modσ anΣ Comφ ┴ ì
  167. neeΣ no⌠ suppor⌠ initiato≥ modσ t∩ successfull∙ completσ aε exchangσ betweeε ì
  168. thσ tw∩ devices«  Thσ hos⌠ systeφ (Hos⌠ A⌐ caε bσ replaceΣ b∙ communication≤ ì
  169. devicσ tha⌠ i≤ capablσ oµ actinτ a≤ aε initiator.
  170.  
  171. .cp 5
  172. .aw off
  173. .pm 0
  174. 17.1.1.3. Multiplσ Rolσ Communication≤ 
  175. .aw on
  176. .pm 3
  177.  
  178. ááIε thi≤ examplσ oµ multiplσ rolσ communication≤ thσ SEN─ MESSAG┼ anΣ GE╘ ì
  179. MESSAG┼ command≤ arσ used«  Thσ devicσ act≤ a≤ botΦ ß hos⌠ anΣ ß ì
  180. communication≤ devicσ dependinτ oε it≤ need≤ anΣ thσ request≤ madσ iε thσ ì
  181. network.
  182.  
  183. áá┴ communication≤ devicσ (Comφ A⌐ i≤ attacheΣ t∩ ß networδ (Ne⌠ A⌐ anΣ ì
  184. anothe≥ communication≤ devicσ (Comφ B⌐  i≤ attacheΣ t∩ ß networδ (Ne⌠ B)«  ì
  185. Comφ ┴ take≤ thσ initiato≥ rolσ anΣ select≤ ß communication≤ devicσ (Comφ B)«  ì
  186. Comφ ┴ transmit≤ ß packe⌠ fo≥ networδ Ne⌠ ┬ usinτ thσ SEN─ MESSAG┼ commanΣ t∩ ì
  187. Comφ B«  Comφ ┴ theε request≤ datß packet≤ froφ Ne⌠ ┬ b∙ issuinτ ß GE╘ MESSAG┼ ì
  188. commanΣ t∩ thσ Comφ ┬ device«  Followinτ thesσ actions¼ Comφ ┬ assume≤ thσ ìèinitiato≥ rolσ anΣ transmit≤ ß packe⌠ usinτ thσ SEN─ MESSAG┼ commanΣ t∩ Comφ ┴ ì
  189. fo≥ transmissioε t∩ networδ node(s⌐ locateΣ oε Ne⌠ A«  Comφ ┬ theε request≤ ì
  190. datß packet≤ froφ Ne⌠ ┴ b∙ issuinτ ß GE╘ MESSAG┼ commanΣ t∩ Comφ A.
  191.  
  192.  
  193. .cp 35
  194. .aw off
  195. .pm 0
  196. 17.2. Command Descriptions for Communications Devices
  197. .aw on
  198. .pm 3
  199.  
  200. ááThσ command≤ fo≥ communication≤ device≤ shal∞ bσ a≤ showε iε Tablσ 1╖-1.
  201.  
  202. .aw off
  203. .pm 0
  204.                Table 17-1: Commands for Communications Devices
  205.  
  206. ==============================================================================
  207.                                 Operation
  208. Command Name                       Code   Type    Section     Page
  209. ------------------------------------------------------------------------------
  210. CHANG┼ DEFINITIO╬                  40h      O      7.2.1 
  211. GET MESSAGE(6)                     08h      M     17.2.1           
  212. GET MESSAGE(10)                    28h      O     17.2.2           
  213. GET MESSAGE(12)                    A8h      O     17.2.3           
  214. INQUIRY                            12h      M      7.2.5         
  215. LO╟ SELEC╘                         4Ch      O      7.2.6  
  216. LO╟ SENS┼                          4Dh      O      7.2.7  
  217. MODE SELECT(6)                     15h      O      7.2.8  
  218. MODE SELECT(10)                    55h      O      7.2.9  
  219. MODE SENSE(6)                      1Ah      O      7.2.10 
  220. MODE SENSE(10)                     5Ah      O      7.2.11 
  221. READ BUFFER                        3Ch      O      7.2.12
  222. RECEIVE DIAGNOSTIC RESULTS         1Ch      O      7.2.13        
  223. REQUEST SENSE                      03h      M      7.2.14        
  224. SEND DIAGNOSTIC                    1Dh      M      7.2.15        
  225. SEND MESSAGE(6)                    0Ah      M     17.2.4          
  226. SEND MESSAGE(10)                   2Ah      O     17.2.5          
  227. SEND MESSAGE(12)                   AAh      O     17.2.6          
  228. TEST UNIT READY                    00h      M      7.2.16        
  229. WRITE BUFFER                       3Bh      O      7.2.17
  230. ==============================================================================
  231. .aw on
  232. .pm 3
  233.  
  234. ááKe∙  ═  ╜  CommanΣ implementatioε i≤ mandatory.
  235. áá     ╧  ╜  CommanΣ implementatioε i≤ optional.
  236.  
  237. ááAl∞ othe≥ operatioε code≤ fo≥ communication≤ device≤ arσ reserveΣ fo≥ futurσ ì
  238. standardization.
  239.  
  240. .cp 24è.aw off
  241. .pm 0
  242. 17.2.1. GET MESSAGE(╢) Command
  243.  
  244.                       Table 17-2: GET MESSAGE(6⌐ Command
  245.  
  246. ==============================================================================
  247.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  248. Byte |        |        |        |        |        |        |        |        |
  249. ==============================================================================
  250.  0   |                           Operation Code (08h)                        |
  251. -----|-----------------------------------------------------------------------|
  252.  1   | Logical Unit Number      |                  Reserved                  |
  253. -----|-----------------------------------------------------------------------|
  254.  2   | (MSB)                                                                 |
  255. -----|---                                                                 ---|
  256.  3   |                           Allocation Length                           |
  257. -----|---                                                                 ---|
  258.  4   |                                                                 (LSB) |
  259. -----|-----------------------------------------------------------------------|
  260.  5   |                           Control                                     |
  261. ==============================================================================
  262. .aw on
  263. .pm 3
  264.  
  265.  
  266. ááThσ GE╘ MESSAGE(6⌐ commanΣ (Tablσ 1╖-2⌐ transfer≤ datß froφ thσ targe⌠ t∩ ì
  267. thσ initiator.
  268.  
  269. .cp 32è.aw off
  270. .pm 0
  271. 17.2.2. GET MESSAGE(1░⌐ Command
  272.  
  273.                      Table 17-3: GET MESSAGE(10) Command
  274.  
  275. ==============================================================================
  276.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  277. Byte |        |        |        |        |        |        |        |        |
  278. ==============================================================================
  279.  0   |                           Operation Code (28h)                        |
  280. -----|-----------------------------------------------------------------------|
  281.  1   | Logical Unit Number      |                  Reserved                  |
  282. -----|-----------------------------------------------------------------------|
  283.  2   |                           ReserveΣ                                    |
  284. -----|-----------------------------------------------------------------------|
  285.  3   |                           ReserveΣ                                    |
  286. -----|-----------------------------------------------------------------------|
  287.  4   | (MSB)                                                                 |
  288. -----|---                        Stream Selectioε                         ---|
  289.  5   |                                                                 (LSB) |
  290. -----|-----------------------------------------------------------------------|
  291.  6   |                           Reserved                                    |
  292. -----|-----------------------------------------------------------------------|
  293.  7   | (MSB)                                                                 |
  294. -----|---                        Allocatioε Length                        ---|
  295.  8   |                                                                 (LSB) |
  296. -----|-----------------------------------------------------------------------|
  297.  9   |                           Control                                     |
  298. ==============================================================================
  299. .aw on
  300. .pm 3
  301.  
  302.  
  303. ááThσ GE╘ MESSAGE(10⌐ commanΣ (Tablσ 1╖-3⌐ transfer≤ datß froφ thσ targe⌠ t∩ ì
  304. thσ initiator.
  305.  
  306. ááThσ streaφ selectioε fielΣ specifie≤ ß furthe≥ leve∞ oµ addressinτ fo≥ thσ ì
  307. data¼ s∩ tha⌠ i⌠ caε bσ accesseΣ b∙ thσ targe⌠ froφ thσ appropriatσ datß ì
  308. stream.
  309.  
  310. .cp 36è.aw off
  311. .pm 0
  312. 17.2.3. GET MESSAGE(12⌐ Command
  313.  
  314.                      Table 17-4: GET MESSAGE(12) Command
  315.  
  316. ==============================================================================
  317.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  318. Byte |        |        |        |        |        |        |        |        |
  319. ==============================================================================
  320.  0   |                           Operation Code (A8h)                        |
  321. -----|-----------------------------------------------------------------------|
  322.  1   | Logical Unit Number      |                  Reserved                  |
  323. -----|-----------------------------------------------------------------------|
  324.  2   |                           ReserveΣ                                    |
  325. -----|-----------------------------------------------------------------------|
  326.  3   |                           ReserveΣ                                    |
  327. -----|-----------------------------------------------------------------------|
  328.  4   | (MSB)                                                                 |
  329. -----|---                        Stream Selectioε                         ---|
  330.  5   |                                                                 (LSB) |
  331. -----|-----------------------------------------------------------------------|
  332.  6   | (MSB)                                                                 |
  333. -----|--¡                                                                 ---|
  334.  7   |                                                                       |
  335. -----|--¡                        Allocatioε Length                        ---|
  336.  8   |                                                                       |
  337. -----|---                                                                 ---|
  338.  9   |                                                                 (LSB) |
  339. -----|-----------------------------------------------------------------------|
  340.  10  |                           ReserveΣ                                    |
  341. -----|-----------------------------------------------------------------------|
  342.  11  |                           Control                                     |
  343. ==============================================================================
  344. .aw on
  345. .pm 3
  346.  
  347.  
  348. ááThσ GE╘ MESSAGE(12⌐ commanΣ (Tablσ 1╖-4⌐ transfer≤ datß froφ thσ targe⌠ t∩ ì
  349. thσ initiator.
  350.  
  351. ááThσ streaφ selectioε fielΣ specifie≤ ß furthe≥ leve∞ oµ addressinτ fo≥ thσ ì
  352. data¼ s∩ tha⌠ i⌠ caε bσ accesseΣ b∙ thσ targe⌠ froφ thσ appropriatσ datß ì
  353. stream.
  354.  
  355. .cp 24è.aw off
  356. .pm 0
  357. 17.2.4. SEND MESSAGE(6) Command
  358.  
  359.                      Table 17-5: SEND MESSAGE(6) Command
  360.  
  361. ==============================================================================
  362.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  363. Byte |        |        |        |        |        |        |        |        |
  364. ==============================================================================
  365.  0   |                           Operation Code (0Ah)                        |
  366. -----|-----------------------------------------------------------------------|
  367.  1   | Logical Unit Number      |                  Reserved                  |
  368. -----|-----------------------------------------------------------------------|
  369.  2   | (MSB)                                                                 |
  370. -----|---                                                                 ---|
  371.  3   |                           Transfer Length                             |
  372. -----|---                                                                 ---|
  373.  4   |                                                                 (LSB) |
  374. -----|-----------------------------------------------------------------------|
  375.  5   |                           Control                                     |
  376. ==============================================================================
  377. .aw on
  378. .pm 3
  379.  
  380. ááThσ SEN─ MESSAGE(6⌐ commanΣ (Tablσ 1╖-5⌐ transfer≤ datß froφ thσ initiato≥ ì
  381. t∩ thσ target.
  382.  
  383. ááThσ transfe≥ lengtΦ specifie≤ thσ lengtΦ iε byte≤ oµ datß tha⌠ shal∞ bσ sen⌠ ì
  384. durinτ thσ DAT┴ OU╘ phase«  ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ tha⌠ n∩ datß ì
  385. shal∞ bσ sent«  Thi≤ conditioε shal∞ no⌠ bσ considereΣ a≤ aε error.
  386.  
  387. .cp 32è.aw off
  388. .pm 0
  389. 17.2.5. SEND MESSAGE(10) Command
  390.  
  391.                      Table 17-6: SEND MESSAGE(10) Command
  392.  
  393. ==============================================================================
  394.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  395. Byte |        |        |        |        |        |        |        |        |
  396. ==============================================================================
  397.  0   |                           Operation Code (2Ah)                        |
  398. -----|-----------------------------------------------------------------------|
  399.  1   | Logical Unit Number      |                  Reserved                  |
  400. -----|-----------------------------------------------------------------------|
  401.  2   |                           ReserveΣ                                    |
  402. -----|-----------------------------------------------------------------------|
  403.  3   |                           ReserveΣ                                    |
  404. -----|-----------------------------------------------------------------------|
  405.  4   | (MSB)                                                                 |
  406. -----|---                        Stream Selectioε                         ---|
  407.  5   |                                                                 (LSB) |
  408. -----|-----------------------------------------------------------------------|
  409.  6   |                           ReserveΣ                                    |
  410. -----|-----------------------------------------------------------------------|
  411.  7   | (MSB)                                                                 |
  412. -----|---                        Transfer Length                          ---|
  413.  8   |                                                                 (LSB) |
  414. -----|-----------------------------------------------------------------------|
  415.  9   |                           Control                                     |
  416. ==============================================================================
  417. .aw on
  418. .pm 3
  419.  
  420.  
  421. ááThσ SEN─ MESSAGE(10⌐ commanΣ (Tablσ 1╖-6⌐ transfer≤ datß froφ thσ initiato≥ ì
  422. t∩ thσ target.
  423.  
  424. ááThσ streaφ selectioε fielΣ specifie≤ ß furthe≥ leve∞ oµ addressinτ fo≥ thσ ì
  425. data¼ s∩ tha⌠ i⌠ caε bσ directeΣ b∙ thσ targe⌠ t∩ thσ appropriatσ datß stream.
  426.  
  427. ááPleasσ refe≥ t∩ thσ SEN─ MESSAGE(6⌐ commanΣ fo≥ ß descriptioε oµ thσ field≤ ì
  428. iε thi≤ command.
  429.  
  430. .cp 35è.aw off
  431. .pm 0
  432. 17.2.6. SEN─ MESSAGE(12⌐ Command
  433.  
  434.                      Table 17-7: SEND MESSAGE(12) Command
  435.  
  436. ==============================================================================
  437.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  438. Byte |        |        |        |        |        |        |        |        |
  439. ==============================================================================
  440.  0   |                           Operation Code (AAh)                        |
  441. -----|-----------------------------------------------------------------------|
  442.  1   | Logical Unit Number      |                  Reserved                  |
  443. -----|-----------------------------------------------------------------------|
  444.  2   |                           ReserveΣ                                    |
  445. -----|-----------------------------------------------------------------------|
  446.  3   |                           ReserveΣ                                    |
  447. -----|-----------------------------------------------------------------------|
  448.  4   | (MSB)                                                                 |
  449. -----|---                        Stream Selectioε                         ---|
  450.  5   |                                                                 (LSB) |
  451. -----|-----------------------------------------------------------------------|
  452.  6   | (MSB)                                                                 |
  453. -----|--¡                                                                 ---|
  454.  7   |                                                                       |
  455. -----|--¡                        Transfer Length                          ---|
  456.  8   |                                                                       |
  457. -----|---                                                                 ---|
  458.  9   |                                                                 (LSB) |
  459. -----|-----------------------------------------------------------------------|
  460.  10  |                           ReserveΣ                                    |
  461. -----|-----------------------------------------------------------------------|
  462.  11  |                           Control                                     |
  463. ==============================================================================
  464. .aw on
  465. .pm 3
  466.  
  467.  
  468. ááThσ SEN─ MESSAGE(12⌐ commanΣ (Tablσ 1╖-7⌐ transfer≤ datß froφ thσ initiato≥ ì
  469. t∩ thσ target.
  470.  
  471. ááThσ streaφ selectioε fielΣ specifie≤ ß furthe≥ leve∞ oµ addressinτ fo≥ thσ ì
  472. data¼ s∩ tha⌠ i⌠ caε bσ directeΣ b∙ thσ targe⌠ t∩ thσ appropriatσ datß stream.
  473.  
  474. ááPleasσ refe≥ t∩ thσ SEN─ MESSAGE(6⌐ commanΣ fo≥ ß descriptioε oµ thσ field≤ ì
  475. iε thi≤ command.
  476.  
  477. .cp 20è.aw off
  478. .pm 0
  479. 17.3. Parameter≤ fo≥ Communicatioε Devices
  480. .aw on
  481. .pm 3
  482.  
  483. .cp 10
  484. .aw off
  485. .pm 0
  486. 17.3.1. Diagnostic Paramete≥s
  487. .aw on
  488. .pm 3
  489.  
  490. ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ diagnostiπ parameter≤ ì
  491. useΣ witΦ communicatioε devices« 
  492.  
  493. ááThσ diagnostiπ pagσ code≤ fo≥ communicatioε device≤ arσ defineΣ iε Tablσ 1╖-ì
  494. 8.
  495.  
  496. .aw off
  497. .pm 0
  498. .cp 15
  499.                       Table 17-8: Diagnostiπ Page Codes
  500.  
  501. ==============================================================================
  502.   Page Code   Description                                           Section
  503. ------------------------------------------------------------------------------
  504. ááá00h        SupporteΣ Loτ Page≤                                   7.3.1.1
  505. 01h-3Fh       ReserveΣ (fo≥ al∞ devicσ typσ page≤)                 
  506. 40h-7Fh       Reserved
  507. 80h-FFh       Vendo≥-specifiπ pages
  508. .lm 1
  509. .pm 0
  510. ==============================================================================
  511. .aw on
  512. .pm 3
  513. .lm 1
  514.  
  515.  
  516. .cp 5
  517. .aw off
  518. .pm 0
  519. 17.3.2. Log Paramete≥s
  520. .aw on
  521. .pm 3
  522.  
  523. ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ loτ parameter≤ useΣ witΦ ì
  524. communicatioε devices« 
  525.  
  526. ááThσ loτ pagσ code≤ fo≥ communicatioε device≤ arσ defineΣ iε Tablσ 1╖-9.
  527.  
  528. .aw off
  529. .pm 0
  530. .cp 15
  531.                           Table 17-9: Log Page Codes
  532.  
  533. ==============================================================================
  534.   Page Code   Description                                           Section
  535. ------------------------------------------------------------------------------
  536. .aw on
  537. 01Φ        Buffe≥ Ove≥-Run/Unde≥-Ruε Pagσ                        7.3.2.1
  538. 02Φ        Erro≥ Counte≥ Pagσ (Write⌐ Pagσ                       7.3.2.2
  539. 03Φ        Erro≥ Counte≥ Pagσ (Read⌐ Pagσ                        7.3.2.2
  540. 04Φ        Erro≥ Counte≥ Pagσ (ReaΣ Reverse⌐ Pagσ                7.3.2.2
  541. 05Φ        Erro≥ Counte≥ Pagσ (Verify⌐ Pagσ                      7.3.2.2
  542. 07Φ        Las⌠ ε Erro≥ Event≤ Pagσ                              7.3.2.3
  543. 06Φ        Noε-Mediuφ Erro≥ Pagσ                                 7.3.2.┤ 
  544. 00Φ        SupporteΣ Loτ Page≤                                   7.3.2.5
  545. 08Φ ¡ 2FΦ     ReserveΣ                              
  546. 30Φ ¡ 3EΦ     Vendo≥-specifiπ pages
  547. 3FΦ        ReserveΣ                              
  548. ==============================================================================
  549. .aw on
  550. .pm 3
  551. .lm 1
  552.  
  553.  
  554. .cp 10è.aw off
  555. .pm 0
  556. 17.3.3. Mode Paramete≥s
  557. .aw on
  558. .pm 3
  559.  
  560. ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ modσ parameter≤ useΣ witΦ ì
  561. communicatioε devices« 
  562.  
  563. ááThσ modσ paramete≥ list¼ includinτ thσ modσ paramete≥ heade≥ anΣ modσ blocδ ì
  564. descripto≥ arσ defineΣ iε 7.3.3.
  565.  
  566. ááThσ mediuφ-typσ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ heade≥ (seσ ì
  567. Tablσ ╖-6▒ anΣ ╖-62)«  Thi≤ fielΣ i≤ reserveΣ fo≥ communication≤ devices.
  568.  
  569. ááThσ devicσ specifiπ paramete≥ fielΣ i≤ containeΣ iε thσ modσ paramete≥ ì
  570. heade≥ (seσ Tablσ ╖-6▒ anΣ ╖-62)«  Thi≤ fielΣ i≤ reserveΣ fo≥ communication≤ ì
  571. devices.
  572.  
  573. ááThσ densit∙ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ blocδ descripto≥ ì
  574. (seσ Tablσ ╖-63)«  Thi≤ fielΣ i≤ reserveΣ fo≥ communication≤ devices.
  575.  
  576. .cp 20
  577. ááThσ modσ pagσ code≤ fo≥ communicatioε device≤ arσ showε iε Tablσ 1╖-10.
  578.  
  579. .cp  25
  580. .aw off
  581. .pm 0
  582.                          Table 17-10: Modσ Page Codes
  583.  
  584. ==============================================================================
  585.   Page Code   Description                                           Section
  586. ------------------------------------------------------------------------------
  587. ááá0Ah        Contro∞ Mode Page                                     7.3.3.1
  588. ááá02h        Disconnect-Reconnect Page                             7.3.3.2
  589. ááá09h        Peripheral Device Page                                7.3.3.3
  590.    01Φ        Reserved
  591. 03h - 08h     Reserved                                              
  592. 0Bh - 1Fh     Reserved
  593. áááFh         Returns all page≤ (valiΣ onl∙ fo≥ thσ MOD┼ SENS┼ command)
  594. ááá00h        Vendo≥ specific (does not require page format)        
  595. 20h - 3Eh     Vendo≥ specific 
  596. ==============================================================================
  597. .aw on
  598. .pm 3
  599. .lm 1
  600.  
  601.  
  602.  
  603. .cp 20è.aw off
  604. .pm 0
  605. 17.4. Glossary f∩≥ Communication≤ Devices
  606. .aw on
  607.  
  608. communication≤ device.é  Aε SCS╔ devicσ whosσ principa∞ functioε i≤ t∩ ì
  609. communicatσ witΦ onσ o≥ morσ othe≥ systems¼ usuall∙ ove≥ distance≤ tha⌠ exceeΣ ì
  610. thσ maximuφ cablσ lengtΦ defineΣ fo≥ SCSI.
  611.  
  612. externa∞ medium.é  Thσ mediuφ useΣ b∙ thσ communication≤ devicσ t∩ senΣ o≥ ì
  613. receivσ informatioε t∩ o≥ froφ onσ o≥ morσ communication≤ devices«  Thσ othe≥ ì
  614. communication≤ device≤ ma∙ o≥ ma∙ no⌠ usσ aε SCS╔ interface.
  615.  
  616. externa∞ protocol.é  Thσ protocol(s⌐ useΣ b∙ thσ communication≤ devicσ t∩ ì
  617. transfe≥ informatioε ove≥ thσ externa∞ medium«  Thσ externa∞ protocol(s⌐ arσ ì
  618. no⌠ defineΣ b∙ thi≤ standard.
  619.  
  620. ..******************************* end of section *****************************
  621. .paè
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.                      (Thi≤ pagσ i≤ intentionall∙ blank.)
  643. .paè