Seagate Fibre Channel Interface TV Cables User Manual


 
Fibre Channel Interface Manual, Rev. D 339
12.65 Write Long command
The Write Long command requests that the target write to the medium the data transferred by the initiator. The
data passed during the WRITE LONG command is implementation specific, but shall include the data bytes
and the ECC bytes to be written to the single logical block addressed in the command. The Read Long com-
mand is usually issued before issuing a Write Long command. The Write Long data passed must be in the
same order and must be the same number of bytes as the Read Long command.
Field definitions (listed alphabetically)
Byte Transfer Length
The number of bytes of data that will be transferred. A transfer length of zero (0) indicates that no bytes will be transferred.
This condition is not considered an error.
The byte transfer length requested must be equal to the current block size plus all ECC bytes for a data transfer to occur. If
an incorrect number of bytes is stated in the command block, this command terminates with a Check Condition status. The
correct number of bytes can be determined from the information returned in the extended sense data bytes after issuing the
Request Sense command. The Request Sense command results in the Illegal Field In CDB condition with the Illegal
Request sense key. The extended sense ILI bit will be set. The extended sense information bytes contain the difference
(residue) of the requested length minus the actual length (in bytes). (Negative values are indicated by two’s complement
notation.)
Control
See Control Bytes in Section 11.2.1.6.
Logical Block Address
The 32-bit address of the logical block affected by this command.
RelAdr (Relative Address)
This function is not supported by drives described in this manual.
Table 230: Write Long command (3Fh)
Bit
Byte
76543210
000111111
10000000
RelAdr
Reserved
2
Logical Block Address (MSB)
3
Logical Block Address
4
Logical Block Address
5
Logical Block Address (LSB)
600000000
7
Byte Transfer Length (MSB)
8
Byte Transfer Length (LSB)
9
Control
3Fh
Table
number
230
230
230
230