diff options
Diffstat (limited to 'include/linux/ide.h')
| -rw-r--r-- | include/linux/ide.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index bba2f73b99a0..1bd49784e4da 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -1121,6 +1121,22 @@ int ide_check_atapi_device(ide_drive_t *, const char *); | |||
| 1121 | 1121 | ||
| 1122 | void ide_init_pc(struct ide_atapi_pc *); | 1122 | void ide_init_pc(struct ide_atapi_pc *); |
| 1123 | 1123 | ||
| 1124 | /* | ||
| 1125 | * Special requests for ide-tape block device strategy routine. | ||
| 1126 | * | ||
| 1127 | * In order to service a character device command, we add special requests to | ||
| 1128 | * the tail of our block device request queue and wait for their completion. | ||
| 1129 | */ | ||
| 1130 | enum { | ||
| 1131 | REQ_IDETAPE_PC1 = (1 << 0), /* packet command (first stage) */ | ||
| 1132 | REQ_IDETAPE_PC2 = (1 << 1), /* packet command (second stage) */ | ||
| 1133 | REQ_IDETAPE_READ = (1 << 2), | ||
| 1134 | REQ_IDETAPE_WRITE = (1 << 3), | ||
| 1135 | }; | ||
| 1136 | |||
| 1137 | void ide_queue_pc_head(ide_drive_t *, struct gendisk *, struct ide_atapi_pc *, | ||
| 1138 | struct request *); | ||
| 1139 | |||
| 1124 | ide_startstop_t ide_pc_intr(ide_drive_t *drive, struct ide_atapi_pc *pc, | 1140 | ide_startstop_t ide_pc_intr(ide_drive_t *drive, struct ide_atapi_pc *pc, |
| 1125 | ide_handler_t *handler, unsigned int timeout, ide_expiry_t *expiry, | 1141 | ide_handler_t *handler, unsigned int timeout, ide_expiry_t *expiry, |
| 1126 | void (*update_buffers)(ide_drive_t *, struct ide_atapi_pc *), | 1142 | void (*update_buffers)(ide_drive_t *, struct ide_atapi_pc *), |
