BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / bus_managers / ide / ide_cmds.h
blob32fea1fadf2fc55ef66d12464f3fb531ceeecbc7
1 /*
2 ** Copyright 2002/03, Thomas Kurschel. All rights reserved.
3 ** Distributed under the terms of the OpenBeOS License.
4 */
6 /*
7 Part of Open IDE bus manager
9 OP-Codes of IDE commands
12 #ifndef __IDE_CMDS_H__
13 #define __IDE_CMDS_H__
16 #define IDE_CMD_WRITE_DMA 0xca
17 #define IDE_CMD_WRITE_DMA_QUEUED 0xcc
18 #define IDE_CMD_WRITE_MULTIPLE 0xc5
19 #define IDE_CMD_WRITE_SECTORS 0x30
21 #define IDE_CMD_READ_DMA 0xc8
22 #define IDE_CMD_READ_DMA_QUEUED 0xc7
23 #define IDE_CMD_READ_MULTIPLE 0xc4
24 #define IDE_CMD_READ_SECTORS 0x20
26 #define IDE_CMD_WRITE_DMA_EXT 0x35
27 #define IDE_CMD_WRITE_DMA_QUEUED_EXT 0x36
28 #define IDE_CMD_WRITE_MULTIPLE_EXT 0x39
29 #define IDE_CMD_WRITE_SECTORS_EXT 0x34
31 #define IDE_CMD_READ_DMA_EXT 0x25
32 #define IDE_CMD_READ_DMA_QUEUED_EXT 0x26
33 #define IDE_CMD_READ_MULTIPLE_EXT 0x29
34 #define IDE_CMD_READ_SECTORS_EXT 0x24
36 #define IDE_CMD_PACKET 0xa0
37 #define IDE_CMD_DEVICE_RESET 0x08
39 #define IDE_CMD_SERVICE 0xa2
40 #define IDE_CMD_NOP 0
42 #define IDE_CMD_NOP_NOP 0
43 #define IDE_CMD_NOP_NOP_AUTOPOLL 1
46 #define IDE_CMD_GET_MEDIA_STATUS 0xda
48 #define IDE_CMD_FLUSH_CACHE 0xe7
49 #define IDE_CMD_FLUSH_CACHE_EXT 0xea
51 #define IDE_CMD_MEDIA_EJECT 0xed
53 #define IDE_CMD_IDENTIFY_PACKET_DEVICE 0xa1
54 #define IDE_CMD_IDENTIFY_DEVICE 0xec
56 #define IDE_CMD_SET_FEATURES 0xef
57 #define IDE_CMD_SET_FEATURES_ENABLE_REL_INT 0x5d
58 #define IDE_CMD_SET_FEATURES_ENABLE_SERV_INT 0x5e
59 #define IDE_CMD_SET_FEATURES_DISABLE_REL_INT 0xdd
60 #define IDE_CMD_SET_FEATURES_DISABLE_SERV_INT 0xde
61 #define IDE_CMD_SET_FEATURES_ENABLE_MSN 0x95
64 #endif