
DISK DRIVE OPERATION
SpinPoint P80
Product Manual Rev. 01
56
selectable capabilities.
The DEVICE CONFIGURATION SET command allows a device manufacturer or a personal computer
system manufacturer to reduce the set of optional commands, modes, or feature sets supported by a device as
indicated by a DEVICE CONFIGURATION IDENTIFY command. The DEVICE CONFIGURATION SET
command transfers an overlay that modifies some of the bits set in words 63, 82, 83, 84, and 88 of the
IDENTIFY DEVICE command response. When the bits in these words are cleared, the device shall no longer
support the indicated command, mode, or feature set. If a bit is set in the overlay transmitted by the device
that is not set in the overlay received from a DEVICE CONFIGURATION IDENTIFY command, no action
is taken for that bit. Modifying the maximum LBA of the device also modifies the address value returned by
a READ NATIVE MAX ADDRESS or READ NATIVE MAX ADDRESS EXT command.
6.4.4 Execute Device Diagnostics (90h)
This command performs the internal diagnostic tests implemented by the drive. The DRV bit is ignored. Both
drives, if present, shall execute this command.
If Drive 1 is present:
•
Drive 1 asserts PDIAG- within 5 seconds.
•
Drive 0 waits up to 6 seconds for Drive 1 to assert PDIAG-.
•
If Drive 1 has not asserted PDIAG-, indicating a failure, Drive 0 appends 80h to its own diagnostic status.
•
Both drives execute diagnostics.
•
If a Drive 1 diagnostic failure is detected when Drive 0 status is read, then Drive 1 status is obtained by
setting the DRV bit, and reading status.
If there is no Drive 1 present:
•
Drive 0 posts only its own diagnostic results.
•
Drive 0 clears BSY, and generates an interrupt.
The Diagnostic Code written to the Error register is a unique 8-bit code (shown in
Table 6-6
), not as the
single bit flags defined in 6.3.4.4.
If Drive 1 fails diagnostics, Drive 0 "ORs" 80h with its own status and loads that code into the Error register.
If Drive 1 passes diagnostics or there is no Drive 1 connected, Drive 0 "ORs" 00h with its own status and
loads that code into the Error register.