[PATCH] ide: remove duplicate documentation for ide_do_drive_cmd()
Remove duplicate documentation for ide_do_drive_cmd() from <linux/ide.h>, this function is already documented in ide-io.c. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
14351f8e57
commit
84e7b9e94b
|
@ -1207,31 +1207,6 @@ typedef enum {
|
||||||
ide_end /* insert rq at end of list, but don't wait for it */
|
ide_end /* insert rq at end of list, but don't wait for it */
|
||||||
} ide_action_t;
|
} ide_action_t;
|
||||||
|
|
||||||
/*
|
|
||||||
* This function issues a special IDE device request
|
|
||||||
* onto the request queue.
|
|
||||||
*
|
|
||||||
* If action is ide_wait, then the rq is queued at the end of the
|
|
||||||
* request queue, and the function sleeps until it has been processed.
|
|
||||||
* This is for use when invoked from an ioctl handler.
|
|
||||||
*
|
|
||||||
* If action is ide_preempt, then the rq is queued at the head of
|
|
||||||
* the request queue, displacing the currently-being-processed
|
|
||||||
* request and this function returns immediately without waiting
|
|
||||||
* for the new rq to be completed. This is VERY DANGEROUS, and is
|
|
||||||
* intended for careful use by the ATAPI tape/cdrom driver code.
|
|
||||||
*
|
|
||||||
* If action is ide_next, then the rq is queued immediately after
|
|
||||||
* the currently-being-processed-request (if any), and the function
|
|
||||||
* returns without waiting for the new rq to be completed. As above,
|
|
||||||
* This is VERY DANGEROUS, and is intended for careful use by the
|
|
||||||
* ATAPI tape/cdrom driver code.
|
|
||||||
*
|
|
||||||
* If action is ide_end, then the rq is queued at the end of the
|
|
||||||
* request queue, and the function returns immediately without waiting
|
|
||||||
* for the new rq to be completed. This is again intended for careful
|
|
||||||
* use by the ATAPI tape/cdrom driver code.
|
|
||||||
*/
|
|
||||||
extern int ide_do_drive_cmd(ide_drive_t *, struct request *, ide_action_t);
|
extern int ide_do_drive_cmd(ide_drive_t *, struct request *, ide_action_t);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue