Loading...
Searching...
No Matches
Go to the documentation of this file.
38#ifndef _DEV_IC_WDCREG_H_
39#define _DEV_IC_WDCREG_H_
44#define WDCTL_4BIT 0x08
59#define WDCS_BITS "\020\010BSY\007DRDY\006DWF\005DSC\004DRQ\003CORR\002IDX\001ERR"
71#define WDCE_TK0NF 0x02
78#define WDCC_RECAL 0x10
81#define WDCC_WRITE 0x30
82#define WDCC__LONG 0x02
83#define WDCC__NORETRY 0x01
85#define WDCC_FORMAT 0x50
86#define WDCC_DIAGNOSE 0x90
89#define WDCC_READMULTI 0xc4
90#define WDCC_WRITEMULTI 0xc5
91#define WDCC_SETMULTI 0xc6
93#define WDCC_READDMA 0xc8
94#define WDCC_WRITEDMA 0xca
96#define WDCC_ACKMC 0xdb
98#define WDCC_UNLOCK 0xdf
100#define WDCC_FLUSHCACHE 0xe7
101#define WDCC_IDENTIFY 0xec
102#define SET_FEATURES 0xef
104#define WDCC_IDLE 0xe3
105#define WDCC_IDLE_IMMED 0xe1
106#define WDCC_SLEEP 0xe6
107#define WDCC_STANDBY 0xe2
108#define WDCC_STANDBY_IMMED 0xe0
109#define WDCC_CHECK_PWR 0xe5
111#define WDCC_READ_EXT 0x24
112#define WDCC_WRITE_EXT 0x34
114#define WDCC_READMULTI_EXT 0x29
115#define WDCC_WRITEMULTI_EXT 0x39
117#define WDCC_READDMA_EXT 0x25
118#define WDCC_WRITEDMA_EXT 0x35
120#define WDCC_FLUSHCACHE_EXT 0xea
123#define WDSF_8BIT_PIO_EN 0x01
124#define WDSF_EN_WR_CACHE 0x02
125#define WDSF_SET_MODE 0x03
126#define WDSF_REASSIGN_EN 0x04
127#define WDSF_APM_EN 0x05
128#define WDSF_PUIS_EN 0x06
129#define WDSF_PUIS_SPINUP 0x07
130#define WDSF_CFA_MODE1_EN 0x0A
131#define WDSF_RMSN_DS 0x31
132#define WDSF_RETRY_DS 0x33
133#define WDSF_AAM_EN 0x42
134#define WDSF_SET_CACHE_SGMT 0x54
135#define WDSF_READAHEAD_DS 0x55
136#define WDSF_RLSE_EN 0x5D
137#define WDSF_SRV_EN 0x5E
138#define WDSF_POD_DS 0x66
139#define WDSF_ECC_DS 0x77
140#define WDSF_8BIT_PIO_DS 0x81
141#define WDSF_WRITE_CACHE_DS 0x82
142#define WDSF_REASSIGN_DS 0x84
143#define WDSF_APM_DS 0x85
144#define WDSF_PUIS_DS 0x86
145#define WDSF_ECC_EN 0x88
146#define WDSF_CFA_MODE1_DS 0x8A
147#define WDSF_RMSN_EN 0x95
148#define WDSF_RETRY_EN 0x99
149#define WDSF_SET_CURRENT 0x9A
150#define WDSF_READAHEAD_EN 0xAA
151#define WDSF_PREFETCH_SET 0xAB
152#define WDSF_AAM_DS 0xC2
153#define WDSF_POD_EN 0xCC
154#define WDSF_RLSE_DS 0xDD
155#define WDSF_SRV_DS 0xDE
156#define WDSF_READ_NATIVE_MAX 0xF8
157#define WDSF_SEEK 0x70
158#define WDSF_VERIFY 0x40
166#define ATAPI_CHECK_POWER_MODE 0xe5
167#define ATAPI_EXEC_DRIVE_DIAGS 0x90
168#define ATAPI_IDLE_IMMEDIATE 0xe1
169#define ATAPI_NOP 0x00
170#define ATAPI_PKT_CMD 0xa0
171#define ATAPI_IDENTIFY_DEVICE 0xa1
172#define ATAPI_SOFT_RESET 0x08
173#define ATAPI_DEVICE_RESET 0x08
174#define ATAPI_SLEEP 0xe6
175#define ATAPI_STANDBY_IMMEDIATE 0xe0
176#define ATAPI_SMART 0xB0
177#define ATAPI_SETMAX 0xF9
178#define ATAPI_WRITEEXT 0x34
179#define ATAPI_SETMAXEXT 0x37
180#define ATAPI_WRITEMULTIEXT 0x39
183#define ATAPI_PKT_CMD_FTRE_DMA 0x01
184#define ATAPI_PKT_CMD_FTRE_OVL 0x02
189#define WDCI_RELEASE 0x04
191#define PHASE_CMDOUT (WDCS_DRQ | WDCI_CMD)
192#define PHASE_DATAIN (WDCS_DRQ | WDCI_IN)
193#define PHASE_DATAOUT WDCS_DRQ
194#define PHASE_COMPLETED (WDCI_IN | WDCI_CMD)
195#define PHASE_ABORTED 0
Generated on Tue Jun 18 2024 16:24:04 for gem5 by doxygen 1.11.0