home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
S2R10_C.ZIP
/
S2R10C17.SI
< prev
next >
Wrap
Text File
|
1990-03-09
|
30KB
|
643 lines
.RR--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!
.PL 62
.LM 1
.RM 78
.MT3
.MB4
.HM1
.FM1
.PO10
.CW10
.SR2
.UJ0
.OJ0
.UL1
.heCommunications Devices 3/9/90
.foSCSI-2 draft proposed American National Standard 17-# Revision 10c
.pn 1
.cp 30
.aw off
.pm 0
17. Communications Devices
.aw on
.pm 3
.cp 20
.aw off
.pm 0
17.1. Communications Device Model
.aw on
.pm 3
áá┴ communication≤ devicσ provide≤ ß facilit∙ t∩ senΣ anΣ receivσ informatioε ì
ove≥ somσ mediuφ (usuall∙ aε electrica∞ o≥ fibe≥-optiπ cable⌐ usinτ ß defineΣ ì
protoco∞ t∩ onσ o≥ morσ othe≥ system≤ whicΦ suppor⌠ thσ samσ protocol« Thσ ì
mediß anΣ protocol≤ arσ ofteε specifieΣ iε nationa∞ o≥ internationa∞ ì
standards¼ althougΦ somσ arσ proprietary« Withiε thi≤ section¼ thσ protoco∞ ì
useΣ oε thσ externa∞ mediuφ i≤ calleΣ thσ "externa∞ protocol".
ááThσ SCS╔ communication≤ devicσ mode∞ assume≤ tha⌠ informatioε t∩ contro∞ thσ ì
externa∞ protoco∞ i≤ embeddeΣ withiε thσ datß transferreΣ b∙ thσ SEN─ anΣ GE╘ ì
MESSAG┼ commands« Thσ structurσ oµ thσ datß transferreΣ b∙ thesσ command≤ i≤ ì
no⌠ defineΣ b∙ thi≤ standard« Vendo≥-uniquσ MOD┼ page≤ ma∙ bσ defineΣ t∩ ì
providσ additiona∞ contro∞ ove≥ thσ externa∞ protocol.
ááThσ SCS╔ communication≤ devicσ i≤ ß targe⌠ witΦ thσ characteristic≤ oµ ß ì
networδ acces≤ device¼ typicall∙ attacheΣ t∩ ß loca∞ areß networδ (LAN)¼ ì
publiπ telecommunication≤ network¼ privatσ telecommunication≤ network¼ o≥ ì
packe⌠ switchinτ network¼ etc.¼ witΦ n∩ theoretica∞ limits« SucΦ ß ì
communication≤ devicσ i≤ ofteε calleΣ ß networδ node« Thσ communication≤ ì
devicσ transmit≤ o≥ receive≤ packet≤ oµ datß a≤ requesteΣ b∙ thσ initiator« ì
Thσ content≤ anΣ meaninτ oµ thσ datß packet≤ i≤ no⌠ defineΣ b∙ thi≤ standard« ì
Thσ byte≤ iε thσ datß packet≤ ma∙ o≥ ma∙ no⌠ contaiε addressing¼ patΦ ì
selection¼ o≥ patΦ contro∞ informatioε identifyinτ separatσ datß streams« ì
Additiona∞ informatioε ma∙ bσ provideΣ b∙ thσ streaφ selectioε identifie≥ ì
founΣ iε thσ teε anΣ twelvσ bytσ SEN─ MESSAG┼ anΣ GE╘ MESSAG┼ commands.
ááIε thσ SCS╔ communication≤ device¼ thσ targe⌠ accept≤ anΣ provide≤ thσ datß ì
packet≤ transferreΣ iε accordancσ witΦ command≤ receiveΣ froφ thσ initiator« ì
Therσ i≤ aε assumptioε tha⌠ thσ initiato≥ anΣ thσ communication≤ devicσ kno≈ ì
thσ rule≤ b∙ whicΦ informatioε i≤ exchangeΣ betweeε them¼ ho≈ thσ informatioε ì
i≤ t∩ bσ interpreteΣ b∙ thσ communication≤ device¼ anΣ wheε i⌠ i≤ allowablσ t∩ ì
exchangσ thσ information« Thesσ rule≤ arσ no⌠ specifieΣ b∙ thi≤ standard.
ááThσ initiato≥ request≤ tha⌠ thσ communication≤ devicσ accep⌠ ß packe⌠ oµ ì
datß b∙ transmittinτ ß SEN─ MESSAG┼ command« Thσ initiato≥ request≤ tha⌠ thσ ì
communication≤ devicσ returε ß packe⌠ oµ datß b∙ transmittinτ ß GE╘ MESSAG┼ ì
command« Thσ communication≤ devicσ als∩ support≤ command≤ relateΣ t∩ ì
configuratioε oµ thσ networδ acces≤ devicσ anΣ networδ managemen⌠ oµ thσ ì
particula≥ environment« MOD┼ SENS┼ anΣ MOD┼ SELEC╘ arσ example≤ oµ thesσ ì
configuratioε commands.
.cp 15èááIµ ß communication≤ devicσ temporaril∙ ha≤ n∩ resourcσ availablσ t∩ handlσ ß ì
datß packe⌠ froφ thσ initiator¼ o≥ ha≤ n∩ datß packe⌠ t∩ providσ t∩ thσ ì
initiator¼ o≥ ha≤ n∩ resource≤ assigneΣ t∩ perforφ thσ operation¼ thσ devicσ ì
ma∙ theε choosσ onσ oµ thσ followinτ responses║
áá(1⌐ Terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ status« Thσ sensσ ke∙ shal∞ ì
bσ se⌠ t∩ NO╘ READ┘ anΣ thσ appropriatσ additiona∞ sensσ codσ fo≥ thσ ì
condition.
áá(2⌐ Disconnec⌠ unti∞ thσ necessar∙ resourcσ o≥ datß packe⌠ become≤ ì
available¼ anΣ theε reconnec⌠ t∩ thσ initiato≥ anΣ resumσ thσ operation.
áá(3⌐ Terminatσ thσ commanΣ witΦ BUS┘ status.
.lm 1
ááMorσ thaε onσ logica∞ uni⌠ caε bσ implementeΣ b∙ ß communication≤ device« ì
logica∞ unit≤ caε servσ a≤ multiplσ path≤ t∩ ß singlσ networδ acces≤ device¼ ì
and/o≥ eacΦ logica∞ uni⌠ caε servσ a≤ ß discretσ patΦ t∩ differen⌠ resource≤ ì
withiε thσ device« ┴ singlσ logica∞ uni⌠ ma∙ als∩ servσ a≤ ß patΦ t∩ multiplσ ì
resource≤ iµ thσ communication≤ devicσ caε interpre⌠ informatioε withiε thσ ì
datß packe⌠ anΣ routσ thσ packe⌠ t∩ thσ appropriatσ resource« Iµ thσ logica∞ ì
uni⌠ addresseΣ b∙ thσ initiato≥ doe≤ no⌠ havσ aε availablσ resourcσ o≥ datß ì
packe⌠ associateΣ witΦ it¼ thσ communication≤ devicσ ma∙ choosσ t∩ trea⌠ thσ ì
logica∞ uni⌠ a≤ aε invaliΣ logica∞ uni⌠ (seσ sectioε 6.5.3⌐ o≥ responΣ a≤ ì
describeΣ iε thσ previou≤ paragraph.
ááIµ thσ communication≤ devicσ determine≤ tha⌠ aε erro≥ o≥ unusua∞ conditioε ì
ha≤ occurreΣ whilσ performinτ aε operatioε specifieΣ b∙ thσ content≤ oµ ß datß ì
packet¼ thσ informatioε describinτ thσ conditioε i≤ normall∙ returneΣ a≤ ß ì
par⌠ oµ ß datß packe⌠ froφ anothe≥ networδ device« Iµ thσ communication≤ ì
devicσ determine≤ tha⌠ aε erro≥ o≥ unusua∞ conditioε ha≤ occurreΣ whilσ eithe≥ ì
executinτ thσ SCS╔ commanΣ froφ thσ initiator¼ o≥ durinτ ß networδ mediuφ ì
acces≤ transaction¼ thσ commanΣ i≤ terminateΣ witΦ ß CHEC╦ CONDITION« Thσ ì
failure≤ arσ identifieΣ througΦ ß REQUES╘ SENS┼ command.
ááThσ SCS╔ communication≤ devicσ i≤ distinguisheΣ froφ ß SCS╔ processo≥ devicσ ì
b∙ thσ fac⌠ tha⌠ thσ primar∙ destinatioε oµ thσ datß packet≤ transferreΣ t∩ ì
thσ communication≤ devicσ i≤ no⌠ thσ targe⌠ devicσ itself¼ bu⌠ anothe≥ networδ ì
node« ┴ SCS╔ communication≤ devicσ passe≤ thσ datß oε t∩ aε ultimatσ ì
destinatioε outsidσ thσ targe⌠ througΦ ß network« Iε contrast¼ thσ SCS╔ ì
processo≥ devicσ i≤ itselµ thσ primar∙ destinatioε oµ thσ datß packets« ì
Device≤ requirinτ protocol≤ anΣ commanΣ set≤ tha⌠ arσ totall∙ incompatiblσ ì
witΦ thσ communication≤ devicσ protocol≤ shoulΣ bσ examineΣ carefull∙ t∩ bσ ì
surσ tha⌠ thσ incompatibilitie≤ arσ baseΣ oε functiona∞ requirements«
.cp 20è.aw off
.pm 0
17.1.1. Implementatioε Examples
.aw on
.pm 3
ááSevera∞ example≤ oµ communication≤ devicσ implementation≤ arσ provideΣ t∩ ì
clarif∙ thσ rangσ oµ utilit∙ oµ thi≤ devicσ type.
.cp 5
.aw off
.pm 0
17.1.1.1. Hos⌠ t∩ Hos⌠ Communication≤
.aw on
.pm 3
ááIε thi≤ examplσ oµ hos⌠ t∩ hos⌠ communication≤ onl∙ thσ SEN─ MESSAG┼ commanΣ ì
i≤ used.
áá┴ communication≤ devicσ (Comφ A⌐ i≤ attacheΣ t∩ ß networδ (Ne⌠ A⌐ anΣ ì
anothe≥ communication≤ devicσ (Comφ B⌐ i≤ attacheΣ t∩ ß networδ (Ne⌠ B)« ì
Comφ ┴ take≤ thσ initiato≥ rolσ anΣ select≤ ß communication≤ devicσ (Comφ B)¼ ì
transmittinτ ß packe⌠ t∩ Comφ ┬ usinτ thσ SEN─ MESSAG┼ command« Afte≥ ì
transmittinτ thσ packe⌠ oε thσ attacheΣ networδ mediuφ (Ne⌠ B)¼ thσ actioε ì
requireΣ b∙ thσ SEN─ MESSAG┼ command¼ Comφ ┬ assume≤ thσ initiato≥ modσ anΣ ì
select≤ Comφ ┴ a≤ ß communication≤ devicσ anΣ use≤ ß SEN─ MESSAG┼ commanΣ t∩ ì
transmi⌠ ß packe⌠ oε thσ networδ (Ne⌠ A⌐ attacheΣ t∩ Comφ A« Notσ tha⌠ thσ ì
SEN─ MESSAG┼ commanΣ i≤ sufficien⌠ t∩ perforφ completσ transaction≤ betweeε ì
communication≤ device≤ iµ Comφ ┴ anΣ Comφ ┬ ac⌠ a≤ initiators« Thi≤ provide≤ ì
thσ functioε oµ ß networδ bridgσ o≥ gatewa∙ fo≥ higΦ bandwidtΦ ì
intercommunicatioε amonτ nearb∙ hos⌠ processors.
.cp 5
.aw off
.pm 0
17.1.1.2. Hos⌠ t∩ Devicσ Communications
.aw on
.pm 3
ááIε thi≤ examplσ oµ hos⌠ t∩ devicσ communication≤ thσ SEN─ MESSAG┼ anΣ GE╘ ì
MESSAG┼ command≤ arσ used.
áá┴ hos⌠ system¼ Hos⌠ A¼ take≤ thσ initiato≥ rolσ anΣ select≤ ß communication≤ ì
devicσ (Comφ A⌐ attacheΣ t∩ ß networδ (Ne⌠ A)¼ transmittinτ ß packe⌠ oε ì
networδ Ne⌠ ┴ t∩ somσ othe≥ networδ node(s⌐ usinτ thσ SEN─ MESSAG┼ commanΣ t∩ ì
Comφ A« Hos⌠ ┴ theε assume≤ tha⌠ ß resul⌠ wil∞ bσ obtaineΣ b∙ thσ othe≥ ì
networδ node(s⌐ consisten⌠ witΦ rule≤ understooΣ b∙ al∞ involveΣ networδ ì
devices« Hos⌠ ┴ generate≤ ß GE╘ MESSAG┼ commanΣ t∩ obtaiε packet≤ froφ othe≥ ì
networδ nodes« Iµ therσ arσ n∩ packet≤ tha⌠ neeΣ handlinτ pendinτ a⌠ Comφ A¼ ì
Comφ ┴ ma∙ disconnec⌠ unti∞ ß packe⌠ arrives« Comφ ┴ caε theε completσ thσ ì
transaction¼ reconnec⌠ t∩ Hos⌠ ┴ anΣ thσ requesteΣ datß packe⌠ caε bσ ì
returneΣ t∩ Hos⌠ A« Notσ tha⌠ Hos⌠ ┴ neeΣ no⌠ suppor⌠ targe⌠ modσ anΣ Comφ ┴ ì
neeΣ no⌠ suppor⌠ initiato≥ modσ t∩ successfull∙ completσ aε exchangσ betweeε ì
thσ tw∩ devices« Thσ hos⌠ systeφ (Hos⌠ A⌐ caε bσ replaceΣ b∙ communication≤ ì
devicσ tha⌠ i≤ capablσ oµ actinτ a≤ aε initiator.
.cp 5
.aw off
.pm 0
17.1.1.3. Multiplσ Rolσ Communication≤
.aw on
.pm 3
ááIε thi≤ examplσ oµ multiplσ rolσ communication≤ thσ SEN─ MESSAG┼ anΣ GE╘ ì
MESSAG┼ command≤ arσ used« Thσ devicσ act≤ a≤ botΦ ß hos⌠ anΣ ß ì
communication≤ devicσ dependinτ oε it≤ need≤ anΣ thσ request≤ madσ iε thσ ì
network.
áá┴ communication≤ devicσ (Comφ A⌐ i≤ attacheΣ t∩ ß networδ (Ne⌠ A⌐ anΣ ì
anothe≥ communication≤ devicσ (Comφ B⌐ i≤ attacheΣ t∩ ß networδ (Ne⌠ B)« ì
Comφ ┴ take≤ thσ initiato≥ rolσ anΣ select≤ ß communication≤ devicσ (Comφ B)« ì
Comφ ┴ transmit≤ ß packe⌠ fo≥ networδ Ne⌠ ┬ usinτ thσ SEN─ MESSAG┼ commanΣ t∩ ì
Comφ B« Comφ ┴ theε request≤ datß packet≤ froφ Ne⌠ ┬ b∙ issuinτ ß GE╘ MESSAG┼ ì
commanΣ t∩ thσ Comφ ┬ device« Followinτ thesσ actions¼ Comφ ┬ assume≤ thσ ìèinitiato≥ rolσ anΣ transmit≤ ß packe⌠ usinτ thσ SEN─ MESSAG┼ commanΣ t∩ Comφ ┴ ì
fo≥ transmissioε t∩ networδ node(s⌐ locateΣ oε Ne⌠ A« Comφ ┬ theε request≤ ì
datß packet≤ froφ Ne⌠ ┴ b∙ issuinτ ß GE╘ MESSAG┼ commanΣ t∩ Comφ A.
.cp 35
.aw off
.pm 0
17.2. Command Descriptions for Communications Devices
.aw on
.pm 3
ááThσ command≤ fo≥ communication≤ device≤ shal∞ bσ a≤ showε iε Tablσ 1╖-1.
.aw off
.pm 0
Table 17-1: Commands for Communications Devices
==============================================================================
Operation
Command Name Code Type Section Page
------------------------------------------------------------------------------
CHANG┼ DEFINITIO╬ 40h O 7.2.1
GET MESSAGE(6) 08h M 17.2.1
GET MESSAGE(10) 28h O 17.2.2
GET MESSAGE(12) A8h O 17.2.3
INQUIRY 12h M 7.2.5
LO╟ SELEC╘ 4Ch O 7.2.6
LO╟ SENS┼ 4Dh O 7.2.7
MODE SELECT(6) 15h O 7.2.8
MODE SELECT(10) 55h O 7.2.9
MODE SENSE(6) 1Ah O 7.2.10
MODE SENSE(10) 5Ah O 7.2.11
READ BUFFER 3Ch O 7.2.12
RECEIVE DIAGNOSTIC RESULTS 1Ch O 7.2.13
REQUEST SENSE 03h M 7.2.14
SEND DIAGNOSTIC 1Dh M 7.2.15
SEND MESSAGE(6) 0Ah M 17.2.4
SEND MESSAGE(10) 2Ah O 17.2.5
SEND MESSAGE(12) AAh O 17.2.6
TEST UNIT READY 00h M 7.2.16
WRITE BUFFER 3Bh O 7.2.17
==============================================================================
.aw on
.pm 3
ááKe∙ ═ ╜ CommanΣ implementatioε i≤ mandatory.
áá ╧ ╜ CommanΣ implementatioε i≤ optional.
ááAl∞ othe≥ operatioε code≤ fo≥ communication≤ device≤ arσ reserveΣ fo≥ futurσ ì
standardization.
.cp 24è.aw off
.pm 0
17.2.1. GET MESSAGE(╢) Command
Table 17-2: GET MESSAGE(6⌐ Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (08h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- ---|
3 | Allocation Length |
-----|--- ---|
4 | (LSB) |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
ááThσ GE╘ MESSAGE(6⌐ commanΣ (Tablσ 1╖-2⌐ transfer≤ datß froφ thσ targe⌠ t∩ ì
thσ initiator.
.cp 32è.aw off
.pm 0
17.2.2. GET MESSAGE(1░⌐ Command
Table 17-3: GET MESSAGE(10) Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (28h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | ReserveΣ |
-----|-----------------------------------------------------------------------|
3 | ReserveΣ |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Stream Selectioε ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 | (MSB) |
-----|--- Allocatioε Length ---|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ GE╘ MESSAGE(10⌐ commanΣ (Tablσ 1╖-3⌐ transfer≤ datß froφ thσ targe⌠ t∩ ì
thσ initiator.
ááThσ streaφ selectioε fielΣ specifie≤ ß furthe≥ leve∞ oµ addressinτ fo≥ thσ ì
data¼ s∩ tha⌠ i⌠ caε bσ accesseΣ b∙ thσ targe⌠ froφ thσ appropriatσ datß ì
stream.
.cp 36è.aw off
.pm 0
17.2.3. GET MESSAGE(12⌐ Command
Table 17-4: GET MESSAGE(12) Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (A8h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | ReserveΣ |
-----|-----------------------------------------------------------------------|
3 | ReserveΣ |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Stream Selectioε ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--¡ ---|
7 | |
-----|--¡ Allocatioε Length ---|
8 | |
-----|--- ---|
9 | (LSB) |
-----|-----------------------------------------------------------------------|
10 | ReserveΣ |
-----|-----------------------------------------------------------------------|
11 | Control |
==============================================================================
.aw on
.pm 3
ááThσ GE╘ MESSAGE(12⌐ commanΣ (Tablσ 1╖-4⌐ transfer≤ datß froφ thσ targe⌠ t∩ ì
thσ initiator.
ááThσ streaφ selectioε fielΣ specifie≤ ß furthe≥ leve∞ oµ addressinτ fo≥ thσ ì
data¼ s∩ tha⌠ i⌠ caε bσ accesseΣ b∙ thσ targe⌠ froφ thσ appropriatσ datß ì
stream.
.cp 24è.aw off
.pm 0
17.2.4. SEND MESSAGE(6) Command
Table 17-5: SEND MESSAGE(6) Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (0Ah) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- ---|
3 | Transfer Length |
-----|--- ---|
4 | (LSB) |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
ááThσ SEN─ MESSAGE(6⌐ commanΣ (Tablσ 1╖-5⌐ transfer≤ datß froφ thσ initiato≥ ì
t∩ thσ target.
ááThσ transfe≥ lengtΦ specifie≤ thσ lengtΦ iε byte≤ oµ datß tha⌠ shal∞ bσ sen⌠ ì
durinτ thσ DAT┴ OU╘ phase« ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ tha⌠ n∩ datß ì
shal∞ bσ sent« Thi≤ conditioε shal∞ no⌠ bσ considereΣ a≤ aε error.
.cp 32è.aw off
.pm 0
17.2.5. SEND MESSAGE(10) Command
Table 17-6: SEND MESSAGE(10) Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (2Ah) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | ReserveΣ |
-----|-----------------------------------------------------------------------|
3 | ReserveΣ |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Stream Selectioε ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | ReserveΣ |
-----|-----------------------------------------------------------------------|
7 | (MSB) |
-----|--- Transfer Length ---|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ SEN─ MESSAGE(10⌐ commanΣ (Tablσ 1╖-6⌐ transfer≤ datß froφ thσ initiato≥ ì
t∩ thσ target.
ááThσ streaφ selectioε fielΣ specifie≤ ß furthe≥ leve∞ oµ addressinτ fo≥ thσ ì
data¼ s∩ tha⌠ i⌠ caε bσ directeΣ b∙ thσ targe⌠ t∩ thσ appropriatσ datß stream.
ááPleasσ refe≥ t∩ thσ SEN─ MESSAGE(6⌐ commanΣ fo≥ ß descriptioε oµ thσ field≤ ì
iε thi≤ command.
.cp 35è.aw off
.pm 0
17.2.6. SEN─ MESSAGE(12⌐ Command
Table 17-7: SEND MESSAGE(12) Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (AAh) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | ReserveΣ |
-----|-----------------------------------------------------------------------|
3 | ReserveΣ |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Stream Selectioε ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--¡ ---|
7 | |
-----|--¡ Transfer Length ---|
8 | |
-----|--- ---|
9 | (LSB) |
-----|-----------------------------------------------------------------------|
10 | ReserveΣ |
-----|-----------------------------------------------------------------------|
11 | Control |
==============================================================================
.aw on
.pm 3
ááThσ SEN─ MESSAGE(12⌐ commanΣ (Tablσ 1╖-7⌐ transfer≤ datß froφ thσ initiato≥ ì
t∩ thσ target.
ááThσ streaφ selectioε fielΣ specifie≤ ß furthe≥ leve∞ oµ addressinτ fo≥ thσ ì
data¼ s∩ tha⌠ i⌠ caε bσ directeΣ b∙ thσ targe⌠ t∩ thσ appropriatσ datß stream.
ááPleasσ refe≥ t∩ thσ SEN─ MESSAGE(6⌐ commanΣ fo≥ ß descriptioε oµ thσ field≤ ì
iε thi≤ command.
.cp 20è.aw off
.pm 0
17.3. Parameter≤ fo≥ Communicatioε Devices
.aw on
.pm 3
.cp 10
.aw off
.pm 0
17.3.1. Diagnostic Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ diagnostiπ parameter≤ ì
useΣ witΦ communicatioε devices«
ááThσ diagnostiπ pagσ code≤ fo≥ communicatioε device≤ arσ defineΣ iε Tablσ 1╖-ì
8.
.aw off
.pm 0
.cp 15
Table 17-8: Diagnostiπ Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
ááá00h SupporteΣ Loτ Page≤ 7.3.1.1
01h-3Fh ReserveΣ (fo≥ al∞ devicσ typσ page≤)
40h-7Fh Reserved
80h-FFh Vendo≥-specifiπ pages
.lm 1
.pm 0
==============================================================================
.aw on
.pm 3
.lm 1
.cp 5
.aw off
.pm 0
17.3.2. Log Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ loτ parameter≤ useΣ witΦ ì
communicatioε devices«
ááThσ loτ pagσ code≤ fo≥ communicatioε device≤ arσ defineΣ iε Tablσ 1╖-9.
.aw off
.pm 0
.cp 15
Table 17-9: Log Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
.aw on
01Φ Buffe≥ Ove≥-Run/Unde≥-Ruε Pagσ 7.3.2.1
02Φ Erro≥ Counte≥ Pagσ (Write⌐ Pagσ 7.3.2.2
03Φ Erro≥ Counte≥ Pagσ (Read⌐ Pagσ 7.3.2.2
04Φ Erro≥ Counte≥ Pagσ (ReaΣ Reverse⌐ Pagσ 7.3.2.2
05Φ Erro≥ Counte≥ Pagσ (Verify⌐ Pagσ 7.3.2.2
07Φ Las⌠ ε Erro≥ Event≤ Pagσ 7.3.2.3
06Φ Noε-Mediuφ Erro≥ Pagσ 7.3.2.┤
00Φ SupporteΣ Loτ Page≤ 7.3.2.5
08Φ ¡ 2FΦ ReserveΣ
30Φ ¡ 3EΦ Vendo≥-specifiπ pages
3FΦ ReserveΣ
==============================================================================
.aw on
.pm 3
.lm 1
.cp 10è.aw off
.pm 0
17.3.3. Mode Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ modσ parameter≤ useΣ witΦ ì
communicatioε devices«
ááThσ modσ paramete≥ list¼ includinτ thσ modσ paramete≥ heade≥ anΣ modσ blocδ ì
descripto≥ arσ defineΣ iε 7.3.3.
ááThσ mediuφ-typσ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ heade≥ (seσ ì
Tablσ ╖-6▒ anΣ ╖-62)« Thi≤ fielΣ i≤ reserveΣ fo≥ communication≤ devices.
ááThσ devicσ specifiπ paramete≥ fielΣ i≤ containeΣ iε thσ modσ paramete≥ ì
heade≥ (seσ Tablσ ╖-6▒ anΣ ╖-62)« Thi≤ fielΣ i≤ reserveΣ fo≥ communication≤ ì
devices.
ááThσ densit∙ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ blocδ descripto≥ ì
(seσ Tablσ ╖-63)« Thi≤ fielΣ i≤ reserveΣ fo≥ communication≤ devices.
.cp 20
ááThσ modσ pagσ code≤ fo≥ communicatioε device≤ arσ showε iε Tablσ 1╖-10.
.cp 25
.aw off
.pm 0
Table 17-10: Modσ Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
ááá0Ah Contro∞ Mode Page 7.3.3.1
ááá02h Disconnect-Reconnect Page 7.3.3.2
ááá09h Peripheral Device Page 7.3.3.3
01Φ Reserved
03h - 08h Reserved
0Bh - 1Fh Reserved
áááFh Returns all page≤ (valiΣ onl∙ fo≥ thσ MOD┼ SENS┼ command)
ááá00h Vendo≥ specific (does not require page format)
20h - 3Eh Vendo≥ specific
==============================================================================
.aw on
.pm 3
.lm 1
.cp 20è.aw off
.pm 0
17.4. Glossary f∩≥ Communication≤ Devices
.aw on
communication≤ device.é Aε SCS╔ devicσ whosσ principa∞ functioε i≤ t∩ ì
communicatσ witΦ onσ o≥ morσ othe≥ systems¼ usuall∙ ove≥ distance≤ tha⌠ exceeΣ ì
thσ maximuφ cablσ lengtΦ defineΣ fo≥ SCSI.
externa∞ medium.é Thσ mediuφ useΣ b∙ thσ communication≤ devicσ t∩ senΣ o≥ ì
receivσ informatioε t∩ o≥ froφ onσ o≥ morσ communication≤ devices« Thσ othe≥ ì
communication≤ device≤ ma∙ o≥ ma∙ no⌠ usσ aε SCS╔ interface.
externa∞ protocol.é Thσ protocol(s⌐ useΣ b∙ thσ communication≤ devicσ t∩ ì
transfe≥ informatioε ove≥ thσ externa∞ medium« Thσ externa∞ protocol(s⌐ arσ ì
no⌠ defineΣ b∙ thi≤ standard.
..******************************* end of section *****************************
.paè
(Thi≤ pagσ i≤ intentionall∙ blank.)
.paè