diff options
author | Borislav Petkov <bbpetkov@yahoo.de> | 2008-02-01 17:09:29 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:29 -0500 |
commit | f9afd18b5827be93fd9fb3cc84ab9bba38b00db8 (patch) | |
tree | 5bf5a34a970720f6e3856e0a1c2bbf7015520a2f /drivers/ide/ide-cd.h | |
parent | d554336514a63342c2e4b06b4287ad93c112b00f (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.h | 8 |
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 */ |
152 | void ide_cd_init_rq(ide_drive_t *, struct request *); | 152 | void ide_cd_init_rq(ide_drive_t *, struct request *); |
153 | int ide_cd_queue_pc(ide_drive_t *, struct request *); | 153 | int ide_cd_queue_pc(ide_drive_t *, struct request *); |
154 | int ide_cd_lockdoor(ide_drive_t *, int, struct request_sense *); | ||
155 | int ide_cd_read_toc(ide_drive_t *, struct request_sense *); | 154 | int ide_cd_read_toc(ide_drive_t *, struct request_sense *); |
156 | int ide_cdrom_get_capabilities(ide_drive_t *, u8 *); | 155 | int ide_cdrom_get_capabilities(ide_drive_t *, u8 *); |
157 | void ide_cdrom_update_speed(ide_drive_t *, u8 *); | 156 | void ide_cdrom_update_speed(ide_drive_t *, u8 *); |
157 | int cdrom_check_status(ide_drive_t *, struct request_sense *); | ||
158 | 158 | ||
159 | /* ide-cd_ioctl.c */ | 159 | /* ide-cd_ioctl.c */ |
160 | int ide_cdrom_open_real(struct cdrom_device_info *, int); | ||
161 | void ide_cdrom_release_real(struct cdrom_device_info *); | ||
162 | int ide_cdrom_drive_status(struct cdrom_device_info *, int); | ||
163 | int ide_cdrom_check_media_change_real(struct cdrom_device_info *, int); | ||
164 | int ide_cdrom_tray_move(struct cdrom_device_info *, int); | ||
160 | int ide_cdrom_lock_door(struct cdrom_device_info *, int); | 165 | int ide_cdrom_lock_door(struct cdrom_device_info *, int); |
161 | int ide_cdrom_select_speed(struct cdrom_device_info *, int); | 166 | int ide_cdrom_select_speed(struct cdrom_device_info *, int); |
162 | int ide_cdrom_get_last_session(struct cdrom_device_info *, | 167 | int ide_cdrom_get_last_session(struct cdrom_device_info *, |
@@ -164,5 +169,6 @@ int ide_cdrom_get_last_session(struct cdrom_device_info *, | |||
164 | int ide_cdrom_get_mcn(struct cdrom_device_info *, struct cdrom_mcn *); | 169 | int ide_cdrom_get_mcn(struct cdrom_device_info *, struct cdrom_mcn *); |
165 | int ide_cdrom_reset(struct cdrom_device_info *cdi); | 170 | int ide_cdrom_reset(struct cdrom_device_info *cdi); |
166 | int ide_cdrom_audio_ioctl(struct cdrom_device_info *, unsigned int, void *); | 171 | int ide_cdrom_audio_ioctl(struct cdrom_device_info *, unsigned int, void *); |
172 | int ide_cdrom_packet(struct cdrom_device_info *, struct packet_command *); | ||
167 | 173 | ||
168 | #endif /* _IDE_CD_H */ | 174 | #endif /* _IDE_CD_H */ |