diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 4e6181c..171dbcd 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c @@ -792,6 +792,9 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive, struct request *postponed_rq = tape->postponed_rq; u8 stat; + if (rq->cmd_type == REQ_TYPE_SPECIAL) + drive->pc = (struct ide_atapi_pc *) rq->buffer; + debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %lu," " current_nr_sectors: %u\n", (unsigned long long)rq->sector, rq->nr_sectors,