aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.h
diff options
context:
space:
mode:
authorBorislav Petkov <bbpetkov@yahoo.de>2008-02-01 17:09:29 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:29 -0500
commitf9afd18b5827be93fd9fb3cc84ab9bba38b00db8 (patch)
tree5bf5a34a970720f6e3856e0a1c2bbf7015520a2f /drivers/ide/ide-cd.h
parentd554336514a63342c2e4b06b4287ad93c112b00f (diff)
ide-cd: move the remaining cdrom.c ioctl handling code to ide-cd_ioctl.c
There should be no functional changes from this. Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.h')
-rw-r--r--drivers/ide/ide-cd.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h
index 5343063e83f6..58ae663425a8 100644
--- a/drivers/ide/ide-cd.h
+++ b/drivers/ide/ide-cd.h
@@ -151,12 +151,17 @@ void ide_cd_log_error(const char *, struct request *, struct request_sense *);
151/* ide-cd.c functions used by ide-cd_ioctl.c */ 151/* ide-cd.c functions used by ide-cd_ioctl.c */
152void ide_cd_init_rq(ide_drive_t *, struct request *); 152void ide_cd_init_rq(ide_drive_t *, struct request *);
153int ide_cd_queue_pc(ide_drive_t *, struct request *); 153int ide_cd_queue_pc(ide_drive_t *, struct request *);
154int ide_cd_lockdoor(ide_drive_t *, int, struct request_sense *);
155int ide_cd_read_toc(ide_drive_t *, struct request_sense *); 154int ide_cd_read_toc(ide_drive_t *, struct request_sense *);
156int ide_cdrom_get_capabilities(ide_drive_t *, u8 *); 155int ide_cdrom_get_capabilities(ide_drive_t *, u8 *);
157void ide_cdrom_update_speed(ide_drive_t *, u8 *); 156void ide_cdrom_update_speed(ide_drive_t *, u8 *);
157int cdrom_check_status(ide_drive_t *, struct request_sense *);
158 158
159/* ide-cd_ioctl.c */ 159/* ide-cd_ioctl.c */
160int ide_cdrom_open_real(struct cdrom_device_info *, int);
161void ide_cdrom_release_real(struct cdrom_device_info *);
162int ide_cdrom_drive_status(struct cdrom_device_info *, int);
163int ide_cdrom_check_media_change_real(struct cdrom_device_info *, int);
164int ide_cdrom_tray_move(struct cdrom_device_info *, int);
160int ide_cdrom_lock_door(struct cdrom_device_info *, int); 165int ide_cdrom_lock_door(struct cdrom_device_info *, int);
161int ide_cdrom_select_speed(struct cdrom_device_info *, int); 166int ide_cdrom_select_speed(struct cdrom_device_info *, int);
162int ide_cdrom_get_last_session(struct cdrom_device_info *, 167int ide_cdrom_get_last_session(struct cdrom_device_info *,
@@ -164,5 +169,6 @@ int ide_cdrom_get_last_session(struct cdrom_device_info *,
164int ide_cdrom_get_mcn(struct cdrom_device_info *, struct cdrom_mcn *); 169int ide_cdrom_get_mcn(struct cdrom_device_info *, struct cdrom_mcn *);
165int ide_cdrom_reset(struct cdrom_device_info *cdi); 170int ide_cdrom_reset(struct cdrom_device_info *cdi);
166int ide_cdrom_audio_ioctl(struct cdrom_device_info *, unsigned int, void *); 171int ide_cdrom_audio_ioctl(struct cdrom_device_info *, unsigned int, void *);
172int ide_cdrom_packet(struct cdrom_device_info *, struct packet_command *);
167 173
168#endif /* _IDE_CD_H */ 174#endif /* _IDE_CD_H */