diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:34 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:34 -0400 |
commit | 51509eec34debffec3c6f481f7371c9aeb6c63c1 (patch) | |
tree | 94728b2030fadb1f59d5d171541af9518d194366 /include/linux | |
parent | 05236ea6df7419f0f37cf9603cfee265cfce5832 (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/linux')
-rw-r--r-- | include/linux/ide.h | 2 |
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 | ||
1110 | void ide_pktcmd_tf_load(ide_drive_t *, u32, u16, u8); | 1110 | void ide_pktcmd_tf_load(ide_drive_t *, u32, u16, u8); |
1111 | 1111 | ||
1112 | int ide_check_atapi_device(ide_drive_t *, const char *); | ||
1113 | |||
1112 | ide_startstop_t ide_pc_intr(ide_drive_t *drive, struct ide_atapi_pc *pc, | 1114 | ide_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 *), |