Interface
The host system uses the Register - Host to Device FIS when information in the Register Block is transferred from the host system to the device. This is the mechanism for issuing the ATA command from the host system to the device.
C - To update the Command field, "1" would be set in this field; and to update the Device Control field, "0" would be set in the field.
If both C = 1 and SRST = 1 are set, operation is not guaranteed.
5.2.3.3 Register - Device to Host
The Register - Device to Host FIS has the following layout:
| 3 | 3 |
| 2 |
| 2 | 2 |
| 2 |
| 2 | 2 | 2 | 2 |
| 2 |
| 2 | 1 |
| 1 |
| 1 | 1 | 1 |
| 1 |
| 1 | 1 | 1 | 1 |
| 9 |
| 8 | 7 | 6 |
| 5 | 4 | 3 | 2 |
| 1 |
| 0 |
| 1 | 0 |
| 9 |
| 8 | 7 |
| 6 |
| 5 | 4 | 3 | 2 |
| 1 |
| 0 | 9 |
| 8 |
| 7 | 6 | 5 |
| 4 |
| 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
0 |
|
|
|
|
| Error |
|
|
|
|
|
|
|
| Status |
|
|
|
| R |
| I |
| R | Reserved (0) |
| FIS Type (34h) |
| |||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
1 |
|
|
|
| Device |
|
|
|
|
|
|
| LBA High |
|
|
|
|
|
| LBA Mid |
|
|
|
|
|
| LBA Low |
|
|
| |||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
2 |
|
| Reserved (0) |
|
|
| LBA High (exp) |
|
|
| LBA Mid (exp) |
| LBA Low (exp) (0) |
| |||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
3 |
|
| Reserved (0) |
|
|
|
| Reserved (0) |
|
|
| Sector Count (exp) |
|
|
| Sector Count |
|
|
| ||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
4 |
|
| Reserved (0) |
|
|
|
| Reserved (0) |
|
|
|
|
| Reserved (0) |
|
|
|
|
| Reserved (0) |
|
|
| ||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Figure 5.5 Register - Device to Host FIS layout
The Register - Device to Host FIS is used when information concerning the Shadow Register Block in the host adapter is updated. This FIS indicates that the device has completed a command operation. Furthermore, this is a mechanism for changing information concerning the Shadow Register Block of the host adapter.
I - If this bit is set, an interrupt request is issued to the host system.
5.2.3.4 DMA Active - Device to Host
The DMA Active - Device to Host FIS has the following layout:
| 3 | 3 |
| 2 | 2 | 2 |
| 2 |
| 2 | 2 | 2 | 2 |
| 2 | 2 | 1 | 1 |
| 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| 1 | 0 |
| 9 | 8 | 7 |
| 6 |
| 5 | 4 | 3 | 2 |
| 1 | 0 | 9 | 8 |
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
| Reserved (0) |
|
|
|
| Reserved (0) |
|
| R | R | R | Reserved (0) |
| FIS Type (39h) |
| ||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
| Figure 5.6 DMA Active - Device to Host FIS layout |
|
|
|
|
|
|
|