File: linux_hdreg

package info (click to toggle)
libexplain 1.4.D001-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 42,248 kB
  • sloc: ansic: 156,043; makefile: 47,892; sh: 16,304; yacc: 1,898; awk: 245
file content (221 lines) | stat: -rw-r--r-- 4,598 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
#
# libexplain - Explain errno values returned by libc functions
# Copyright (C) 2013 Peter Miller
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
#
Include: linux/hdreg.h
#
# Requests that don't alter system state, device state or media state.
# These are safe to probe, and will not cause probems or damage.
Get:
 HDIO_GETGEO
 HDIO_GET_32BIT
 HDIO_GET_ACOUSTIC
 HDIO_GET_ADDRESS
 HDIO_GET_BUSSTATE
 HDIO_GET_DMA
 HDIO_GET_IDENTITY
 HDIO_GET_MULTCOUNT
 HDIO_GET_NICE
 HDIO_GET_NOWERR
 HDIO_GET_QDMA
 HDIO_GET_UNMASKINTR
 HDIO_GET_WCACHE
 WIN_GETMEDIASTATUS
#
# These are requests that alter the system state.
Set:
 CFA_ERASE_SECTORS
 CFA_REQ_EXT_ERROR_CODE
 CFA_TRANSLATE_SECTOR
 CFA_WRITE_MULTI_WO_ERASE
 CFA_WRITE_SECT_WO_ERASE
 DISABLE_SEAGATE
 EXABYTE_ENABLE_NEST
 HDIO_DRIVE_CMD
 HDIO_DRIVE_RESET
 HDIO_DRIVE_TASK
 HDIO_DRIVE_TASKFILE
 HDIO_GET_KEEPSETTINGS
 HDIO_OBSOLETE_IDENTITY
 HDIO_SCAN_HWIF
 HDIO_SET_32BIT
 HDIO_SET_ACOUSTIC
 HDIO_SET_ADDRESS
 HDIO_SET_BUSSTATE
 HDIO_SET_DMA
 HDIO_SET_KEEPSETTINGS
 HDIO_SET_MULTCOUNT
 HDIO_SET_NICE
 HDIO_SET_NOWERR
 HDIO_SET_PIO_MODE
 HDIO_SET_QDMA
 HDIO_SET_UNMASKINTR
 HDIO_SET_WCACHE
 HDIO_SET_XFER
 HDIO_TRISTATE_HWIF
 HDIO_UNREGISTER_HWIF
 IDE_HOB_STD_IN_FLAGS
 IDE_HOB_STD_OUT_FLAGS
 IDE_TASKFILE_STD_IN_FLAGS
 IDE_TASKFILE_STD_OUT_FLAGS
 SECURITY_DISABLE_PASSWORD
 SECURITY_ERASE_PREPARE
 SECURITY_ERASE_UNIT
 SECURITY_FREEZE_LOCK
 SECURITY_SET_PASSWORD
 SECURITY_UNLOCK
 SETFEATURES_4B_RW_LONG
 SETFEATURES_DIS_8BIT
 SETFEATURES_DIS_AAM
 SETFEATURES_DIS_APM
 SETFEATURES_DIS_DEFECT
 SETFEATURES_DIS_ECC
 SETFEATURES_DIS_MSN
 SETFEATURES_DIS_RETRY
 SETFEATURES_DIS_RI
 SETFEATURES_DIS_RLA
 SETFEATURES_DIS_RPOD
 SETFEATURES_DIS_SI
 SETFEATURES_DIS_WCACHE
 SETFEATURES_EN_8BIT
 SETFEATURES_EN_AAM
 SETFEATURES_EN_APM
 SETFEATURES_EN_DEFECT
 SETFEATURES_EN_ECC
 SETFEATURES_EN_MSN
 SETFEATURES_EN_REST
 SETFEATURES_EN_RETRY
 SETFEATURES_EN_RI
 SETFEATURES_EN_RLA
 SETFEATURES_EN_RPOD
 SETFEATURES_EN_SAME_M
 SETFEATURES_EN_SAME_R
 SETFEATURES_EN_SI
 SETFEATURES_EN_WCACHE
 SETFEATURES_PREFETCH
 SETFEATURES_RW_LONG
 SETFEATURES_SET_CACHE
 SMART_AUTOSAVE
 SMART_AUTO_OFFLINE
 SMART_DISABLE
 SMART_ENABLE
 SMART_HCYL_PASS
 SMART_IMMEDIATE_OFFLINE
 SMART_LCYL_PASS
 SMART_READ_LOG_SECTOR
 SMART_READ_THRESHOLDS
 SMART_READ_VALUES
 SMART_SAVE
 SMART_STATUS
 SMART_WRITE_LOG_SECTOR
 SMART_WRITE_THRESHOLDS
 TASKFILE_48
 TASKFILE_IN
 TASKFILE_INVALID
 TASKFILE_IN_DMA
 TASKFILE_IN_DMAQ
 TASKFILE_IN_OUT
 TASKFILE_MULTI_IN
 TASKFILE_MULTI_OUT
 TASKFILE_NO_DATA
 TASKFILE_OUT
 TASKFILE_OUT_DMA
 TASKFILE_OUT_DMAQ
 TASKFILE_P_IN
 TASKFILE_P_IN_DMA
 TASKFILE_P_IN_DMAQ
 TASKFILE_P_OUT
 TASKFILE_P_OUT_DMA
 TASKFILE_P_OUT_DMAQ
 WIN_ACKMEDIACHANGE
 WIN_CHECKPOWERMODE1
 WIN_CHECKPOWERMODE2
 WIN_DEVICE_RESET
 WIN_DIAGNOSE
 WIN_DOORLOCK
 WIN_DOORUNLOCK
 WIN_DOWNLOAD_MICROCODE
 WIN_FLUSH_CACHE
 WIN_FLUSH_CACHE_EXT
 WIN_FORMAT
 WIN_IDENTIFY
 WIN_IDENTIFY_DMA
 WIN_IDLEIMMEDIATE
 WIN_INIT
 WIN_MEDIAEJECT
 WIN_MULTREAD
 WIN_MULTREAD_EXT
 WIN_MULTWRITE
 WIN_MULTWRITE_EXT
 WIN_NOP
 WIN_PACKETCMD
 WIN_PIDENTIFY
 WIN_POSTBOOT
 WIN_PREBOOT
 WIN_QUEUED_SERVICE
 WIN_READ
 WIN_READDMA
 WIN_READDMA_EXT
 WIN_READDMA_ONCE
 WIN_READDMA_QUEUED
 WIN_READDMA_QUEUED_EXT
 WIN_READ_BUFFER
 WIN_READ_EXT
 WIN_READ_LONG
 WIN_READ_LONG_ONCE
 WIN_READ_NATIVE_MAX
 WIN_READ_NATIVE_MAX_EXT
 WIN_READ_ONCE
 WIN_RECAL
 WIN_SECURITY_DISABLE
 WIN_SECURITY_ERASE_PREPARE
 WIN_SECURITY_ERASE_UNIT
 WIN_SECURITY_FREEZE_LOCK
 WIN_SECURITY_SET_PASS
 WIN_SECURITY_UNLOCK
 WIN_SEEK
 WIN_SETFEATURES
 WIN_SETIDLE1
 WIN_SETIDLE2
 WIN_SETMULT
 WIN_SET_MAX
 WIN_SET_MAX_EXT
 WIN_SLEEPNOW1
 WIN_SLEEPNOW2
 WIN_SMART
 WIN_SPECIFY
 WIN_SRST
 WIN_STANDBY
 WIN_STANDBY2
 WIN_STANDBYNOW1
 WIN_STANDBYNOW2
 WIN_VERIFY
 WIN_VERIFY_EXT
 WIN_VERIFY_ONCE
 WIN_WRITE
 WIN_WRITEDMA
 WIN_WRITEDMA_EXT
 WIN_WRITEDMA_ONCE
 WIN_WRITEDMA_QUEUED
 WIN_WRITEDMA_QUEUED_EXT
 WIN_WRITE_BUFFER
 WIN_WRITE_EXT
 WIN_WRITE_LONG
 WIN_WRITE_LONG_ONCE
 WIN_WRITE_ONCE
 WIN_WRITE_SAME
 WIN_WRITE_VERIFY
# vim: set ts=8 sw=4 et :