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.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index e99019057ba6..e74ee4f7fcdc 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1207,31 +1207,6 @@ typedef enum {
1207 ide_end /* insert rq at end of list, but don't wait for it */ 1207 ide_end /* insert rq at end of list, but don't wait for it */
1208} ide_action_t; 1208} ide_action_t;
1209 1209
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); 1210extern int ide_do_drive_cmd(ide_drive_t *, struct request *, ide_action_t);
1236 1211
1237/* 1212/*