ATA
PASS-THROUGH (16) command (85h)
Bit
Byte
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
|
0
|
OPERATION
CODE (85h)
|
||||||||
1
|
MULTIPLE_COUNT
|
PROTOCOL
|
EXTEND
|
||||||
2
|
OFF_LINE
|
CK_COND
|
Reserved
|
T_DIR
|
BYT_BLOK
|
T_LENGTH
|
|||
3
|
FEATURES
(8:15)
|
||||||||
4
|
FEATURES
(0:7)
|
||||||||
5
|
SECTOR_COUNT
(8:15)
|
||||||||
6
|
SECTOR_COUNT
(0:7)
|
||||||||
7
|
LBA_LOW
(8:15)
|
||||||||
8
|
LBA_LOW
(0:7)
|
||||||||
9
|
LBA_MID
(8:15)
|
||||||||
10
|
LBA_MID
(0:7)
|
||||||||
11
|
LBA_HIGH
(8:15)
|
||||||||
12
|
LBA_HIGH
(0:7)
|
||||||||
13
|
DEVICE
|
||||||||
14
|
COMMAND
|
||||||||
15
|
CONTROL
|
||||||||
ATA Protocols
Protocol
|
Description
|
0
|
Hard Reset
|
1
|
SRST
|
2
|
Reserved
|
3
|
Non-data
|
4
|
PIO Data-In
|
5
|
PIO Data-Out
|
6
|
DMA
|
7
|
DMA Queued
|
8
|
Device Diagnostic
|
9
|
DEVICE RESET
|
10
|
UDMA Data In
|
11
|
UDMA Data Out
|
12
|
FPDMA
|
13,
14
|
Reserved
|
15
|
Return Response Information
|
Bit
Byte
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
0
|
DESCRIPTOR
CODE (09h)
|
|||||||
1
|
ADDITIONAL
DESCRIPTOR LENGTH (0ch)
|
|||||||
2
|
Reserved
|
EXTEND
|
||||||
3
|
ERROR
|
|||||||
4
|
SECTOR_COUNT
(8:15)
|
|||||||
5
|
SECTOR_COUNT
(0:7)
|
|||||||
6
|
LBA_LOW
(8:15)
|
|||||||
7
|
LBA_LOW
(0:7)
|
|||||||
8
|
LBA_MID
(8:15)
|
|||||||
9
|
LBA_MID
(0:7)
|
|||||||
10
|
LBA_HIGH
(8:15)
|
|||||||
11
|
LBA_HIGH
(0:7)
|
|||||||
12
|
DEVICE
|
|||||||
13
|
STATUS
|
沒有留言:
張貼留言