diff options
author | Borislav Petkov <petkovbb@gmail.com> | 2009-01-02 10:12:53 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-01-02 10:12:53 -0500 |
commit | 4cad085efbce8dcc5006b0d1034089758b4fc7ba (patch) | |
tree | f9aeb0e7eec115e56aada920eefa40b093aec434 /include/linux/ide.h | |
parent | 5f25843fa79b7c35097b0ffe8b2c5cc2428d6495 (diff) |
ide-cd: move cdrom_timer_expiry to ide-atapi.c
- cdrom_timer_expiry -> ide_cd_expiry
- remove expiry-arg to ide_issue_pc as it is redundant now
- ide_debug_log -> debug_log
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index e35ff6827897..e20e0b5c1739 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -396,6 +396,7 @@ enum { | |||
396 | * This is used for several packet commands (not for READ/WRITE commands). | 396 | * This is used for several packet commands (not for READ/WRITE commands). |
397 | */ | 397 | */ |
398 | #define IDE_PC_BUFFER_SIZE 256 | 398 | #define IDE_PC_BUFFER_SIZE 256 |
399 | #define ATAPI_WAIT_PC (60 * HZ) | ||
399 | 400 | ||
400 | struct ide_atapi_pc { | 401 | struct ide_atapi_pc { |
401 | /* actual packet bytes */ | 402 | /* actual packet bytes */ |
@@ -1253,10 +1254,11 @@ static inline unsigned long ide_scsi_get_timeout(struct ide_atapi_pc *pc) | |||
1253 | } | 1254 | } |
1254 | 1255 | ||
1255 | int ide_scsi_expiry(ide_drive_t *); | 1256 | int ide_scsi_expiry(ide_drive_t *); |
1257 | int ide_cd_expiry(ide_drive_t *); | ||
1256 | 1258 | ||
1257 | int ide_cd_get_xferlen(struct request *); | 1259 | int ide_cd_get_xferlen(struct request *); |
1258 | 1260 | ||
1259 | ide_startstop_t ide_issue_pc(ide_drive_t *, unsigned int, ide_expiry_t *); | 1261 | ide_startstop_t ide_issue_pc(ide_drive_t *, unsigned int); |
1260 | 1262 | ||
1261 | ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *); | 1263 | ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *); |
1262 | 1264 | ||