aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index e99019057ba6..a39c3c59789d 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1201,37 +1201,11 @@ extern u64 ide_get_error_location(ide_drive_t *, char *);
1201 */ 1201 */
1202typedef enum { 1202typedef enum {
1203 ide_wait, /* insert rq at end of list, and wait for it */ 1203 ide_wait, /* insert rq at end of list, and wait for it */
1204 ide_next, /* insert rq immediately after current request */
1205 ide_preempt, /* insert rq in front of current request */ 1204 ide_preempt, /* insert rq in front of current request */
1206 ide_head_wait, /* insert rq in front of current request and wait for it */ 1205 ide_head_wait, /* insert rq in front of current request and wait for it */
1207 ide_end /* insert rq at end of list, but don't wait for it */ 1206 ide_end /* insert rq at end of list, but don't wait for it */
1208} ide_action_t; 1207} ide_action_t;
1209 1208
1210/*
1211 * This function issues a special IDE device request
1212 * onto the request queue.
1213 *
1214 * If action is ide_wait, then the rq is queued at the end of the
1215 * request queue, and the function sleeps until it has been processed.
1216 * This is for use when invoked from an ioctl handler.
1217 *
1218 * If action is ide_preempt, then the rq is queued at the head of
1219 * the request queue, displacing the currently-being-processed
1220 * request and this function returns immediately without waiting
1221 * for the new rq to be completed. This is VERY DANGEROUS, and is
1222 * intended for careful use by the ATAPI tape/cdrom driver code.
1223 *
1224 * If action is ide_next, then the rq is queued immediately after
1225 * the currently-being-processed-request (if any), and the function
1226 * returns without waiting for the new rq to be completed. As above,
1227 * This is VERY DANGEROUS, and is intended for careful use by the
1228 * ATAPI tape/cdrom driver code.
1229 *
1230 * If action is ide_end, then the rq is queued at the end of the
1231 * request queue, and the function returns immediately without waiting
1232 * for the new rq to be completed. This is again intended for careful
1233 * use by the ATAPI tape/cdrom driver code.
1234 */
1235extern int ide_do_drive_cmd(ide_drive_t *, struct request *, ide_action_t); 1209extern int ide_do_drive_cmd(ide_drive_t *, struct request *, ide_action_t);
1236 1210
1237/* 1211/*