Quantum Audio Travan 40 Tape Drive STT3401A User Manual

Page 66

Advertising
background image

Chapter 5

ATAPI Interface

Page 58

Seagate Travan 40 Product Manual

reported in the method specified by the MRIE value, except with the additional Sense
Code set to 0x5DFF. If both the Test and Dexcpt bits are set to 1 and Test Flag
Number set to 0, then the MODE SELECT command will return Check Condition,
with Sense Key set to Illegal Request and extended sense set to Invalid Field in
Parameter List.

When the Test bit is set to 1 and the Test Flag Number is set to valid non-0 value,
the target will generate/clear a test informational exception condition. The value of
the Test bit returned by a Mode Sense command will remain at 0. The test action is
based on the Test Flag Number value:

1 to 64: This will set in the Log page the TapeAlert flag indicated by the Test Flag
Number. Once the TapeAlert flag is set it is processed normally based on the
Dexcpt, MRIE, Interval Count and Report Count values.

–1 to –64: This will clear the TapeAlert flag indicated by the absolute value of the
Test Flag Number. Clearing the flag in this way is equivalent to performing the
specified corrective action for that flag, thus allowing a real information exception
condition to be set if the real error condition occurs for that flag.

32767 (0x7FFF): This will set all of the TapeAlert flags in the Log Page that are
supported by the target. Once the supported TapeAlert flags are set they are
processed normally based on the Dexcpt, MRIE, Interval Count and Report Count
values.

Interval Timer (Default set to 0): When this field is set to 0, this indicates that the
target shall only report the informational exception condition one time. When this
field is set to non-0, the value indicates the period in 100 millisecond increments for
reporting that an informational exception condition has occurred. The target shall not
report informational exception conditions more frequently than the specified timer
interval and as soon as possible after the timer interval has elapsed. A value of
0xFFFFFFFF in the field indicates the timer interval is vendor specific.

Report Count/Test Flag Number (Default set to 0): This field has a dual purpose.
When the Test bit is set to 0, then the value of this field in the MODE SELECT data
represents the Report Count, which is what is always returned in response to a Mode
Sense command. When the Report Count field is set to 0, this indicates that there is
no limit on the number of times the target shall report the informational exception
condition (assuming that Interval Timer is set to non-0). When the Report Count field
is set to non-0 this indicates the number of times to report an informational exception
condition. If multiple TapeAlert flags are set simultaneously, these are reported as a
single informational exception condition. The report count is controlled by the most
recent flag set.

When a MODE SELECT command is sent with the Test bit is set to 1, then the value
of this field in the MODE SELECT data represents the Test Flag Number, which is
never returned in response to a Mode Sense command. Valid vales of the Test Flag
Number are –64 to 64 and 32677 (0x7FFF). Negative numbers are represented
using the 2’s complement method. If the Test Flag Number is set to an invalid value,
then the MODE SELECT command will return Check Condition, with Sense Key set
to Illegal Request and extended sense set to Invalid Field in Parameter List. If the
device does not support Test Flag Number, then when the Test bit is set to 1 and the
Test Flag Number is set to non-0, the MODE SELECT command will return Check
Condition.
The Sense Key is set to Illegal Request and extended sense set to Invalid
Field in Parameter List
.

Advertising
This manual is related to the following products: