aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-10 16:39:34 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-10 16:39:34 -0400
commit51509eec34debffec3c6f481f7371c9aeb6c63c1 (patch)
tree94728b2030fadb1f59d5d171541af9518d194366 /include
parent05236ea6df7419f0f37cf9603cfee265cfce5832 (diff)
ide: add ide_check_atapi_device() helper
* Add ide_check_atapi_device() to ide-atapi.c and convert ide-{floppy,tape}.c to use it instead of ide*_identify_device(). While at it: * Add DRV_NAME defines to ide-{floppy,tape}.c. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 40102bd50a70..e63ff63d1f0b 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1109,6 +1109,8 @@ extern int drive_is_ready(ide_drive_t *);
1109 1109
1110void ide_pktcmd_tf_load(ide_drive_t *, u32, u16, u8); 1110void ide_pktcmd_tf_load(ide_drive_t *, u32, u16, u8);
1111 1111
1112int ide_check_atapi_device(ide_drive_t *, const char *);
1113
1112ide_startstop_t ide_pc_intr(ide_drive_t *drive, struct ide_atapi_pc *pc, 1114ide_startstop_t ide_pc_intr(ide_drive_t *drive, struct ide_atapi_pc *pc,
1113 ide_handler_t *handler, unsigned int timeout, ide_expiry_t *expiry, 1115 ide_handler_t *handler, unsigned int timeout, ide_expiry_t *expiry,
1114 void (*update_buffers)(ide_drive_t *, struct ide_atapi_pc *), 1116 void (*update_buffers)(ide_drive_t *, struct ide_atapi_pc *),