![Western Digital Ultrastar DC HC310 Specifications Download Page 83](http://html1.mh-extra.com/html/western-digital/ultrastar-dc-hc310/ultrastar-dc-hc310_specifications_961649083.webp)
69
Western Digital Hard Disk Drive OEM Specification
9.17.4
NCQ NON-DATA (63h)
The NCQ NON-DATA feature allows the host to manage the outstanding NCQ commands and/or affect the
processing of NCQ commands.
The NCQ NON-DATA command is a non-data NCQ command. Only specified NCQ NON-DATA subcommands are
executed as Immediate NCQ commands.
NCQ NON-DATA cmd, LBA fields should not be set to reserved.
LBA fields are optionally used in SetFeatures cmd.
If NCQ is disabled and an NCQ NON-DATA command is issued to the device, then the device aborts the command
with the ERR bit set to one in the Status register and the ABRT bit set to one in the Error register. This command is
prohibited for devices that implement the PACKET feature set. The queuing behavior of the device depends on
which subcommand is specified.
Register
7
6
5
4
3
2
1
0
Features(7:0)
Subcommand Specific
Subcommand
Features(15:8)
Subcommand Specific
Count(7:0)
TAG
Reserved
Count(15:8)
Subcommand Specific
LBA(7:0)
Subcommand Specific
LBA(15:8)
Subcommand Specific
LBA(23:16)
Subcommand Specific
LBA(31:24)
Subcommand Specific
LBA(39:32)
Subcommand Specific
LBA(47:40)
Subcommand Specific
ICC(7:0)
Reserved
Auxiliary(7:0)
Reserved
Auxiliary(15:8)
Reserved
Auxiliary(23:16)
Subcommand Specific
Auxiliary(31:24)
Reserved
Device(7:0)
Res
1
Res
0
Reserved
Command(7:0)
63h
Table 41 NCQ NON-DATA - Command definition
Table 41 defines the Subcommand values. If an invalid subcommand is specified, then the device aborts the
command with the ERR bit set to one in the Status register, the ABRT bit set to one in the Error register, and causes
all outstanding commands to be aborted.
Subcommand
Description
Reference
0h
Abort NCQ queue
11.15.1 Abort NCQ Queue Subcommand (0h)
1h
Deadline Handling
11.15.2 Deadline handling Subcommand (1h)
2h - 4h
Reserved
5h
SET FEATURES
11.15.3 Set Features Subcommand (5h)
Table 42 Subcommand Field
Subcommand Specific (TTAG) is the selected queue TAG. This allows the host to select the specific outstanding
queued command to be managed.
The error and normal returns for this command are subcommand specific.