搜尋此網誌

2012年9月2日 星期日

PIO Setup FIS – Device to Host(5Fh)

PIO Setup FIS – Device to Host:


31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0

0
Error
Status
R
I
D
R
PM Port
FIS Type (5Fh)

1
Device
LBA(23:16)
LBA(15:8)
LBA(7:0)

2
Reserved
LBA(47:40)
LBA(39:32)
LBA(31:24)

3
E_Status
Reserved
Count(15:8)
Count(7:0)

4
Reserved
Transfer Count
FIS Type - Set to a value of 5Fh. Defines the rest of the FIS fields. Defines the length of the FIS as five Dwords.
LBA(15:8) - Holds the contents of the LBA(15:8) register of the Command Block.
LBA(39:32) – Contains the contents of the LBA(39:32) field of the Shadow Register Block.
LBA(23:16) - Holds the contents of the LBA(23:16) register of the Command Block.
LBA(47:40) – Contains the contents of the LBA(47:40) field of the Shadow Register Block.
D - Specifies the data transfer direction. When set to one the transfer is from device to host, when cleared to zero the transfer is from host to device.
Device - Holds the contents of the Device register of the Command Block.
Status - Contains the new value of the Status register of the Command Block for initiation of host data transfer.
Error - Contains the new value of the Error register of the Command Block at the conclusion of all subsequent Data to Device frames.
I - Interrupt bit. This bit reflects the interrupt bit line of the device. Devices shall not modify the behavior of this bit based on the state of the nIEN bit received in
Register – Host to Device FISes.
PM Port – When an endpoint device is attached via a Port Multiplier, specifies the device port address that the FIS is received from. This field is set by the Port Multiplier. Endpoint devices shall set this field to 0h.
R – Reserved – shall be cleared to zero.
Count(7:0) - Holds the contents of the Count(7:0) register of the Command Block.
Count(15:8) – Contains the contents  of the  Count(15:8) field of the  Shadow Register Block
LBA(7:0) - Holds the contents of the LBA(7:0) register of the Command Block.
LBA(31:24) – Contains the contents of the LBA(31:24) field of the Shadow Register Block
E_Status - Contains the new value of the Status register of the Command Block at the conclusion of the subsequent Data FIS.
Transfer Count – Holds the number of bytes to be transferred in the subsequent Data FIS. The Transfer Count value shall be nonzero and the low order bit shall be zero (even number of bytes transferred).

沒有留言:

張貼留言