aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-10 16:39:39 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-10 16:39:39 -0400
commitde699ad595fb45022d1b049ed91ffd06fdd16c13 (patch)
tree9fc467c912faafb4d1bd5e16de5fbf537ef2c2f6 /include/linux/ide.h
parent0c8a6c7aead1d3be85ce53e3aaacd52e38ede03e (diff)
ide: add ide_do_test_unit_ready() helper
* Add ide_do_test_unit_ready() helper and convert ide-{floppy,tape}.c to use it. * Remove no longer used idetape_create_test_unit_ready_cmd(). There should be no functional changes caused by this patch. Acked-by: Borislav Petkov <petkovbb@gmail.com> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index be79122b9431..55098eed3b21 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1142,6 +1142,7 @@ void ide_queue_pc_head(ide_drive_t *, struct gendisk *, struct ide_atapi_pc *,
1142 struct request *); 1142 struct request *);
1143int ide_queue_pc_tail(ide_drive_t *, struct gendisk *, struct ide_atapi_pc *); 1143int ide_queue_pc_tail(ide_drive_t *, struct gendisk *, struct ide_atapi_pc *);
1144 1144
1145int ide_do_test_unit_ready(ide_drive_t *, struct gendisk *);
1145int ide_do_start_stop(ide_drive_t *, struct gendisk *, int); 1146int ide_do_start_stop(ide_drive_t *, struct gendisk *, int);
1146int ide_set_media_lock(ide_drive_t *, struct gendisk *, int); 1147int ide_set_media_lock(ide_drive_t *, struct gendisk *, int);
1147 1148