diff options
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r-- | drivers/ide/ide-tape.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 5c26e98e2e39..a148de623af0 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c | |||
@@ -619,18 +619,6 @@ static int ide_tape_io_buffers(ide_drive_t *drive, struct ide_atapi_pc *pc, | |||
619 | } | 619 | } |
620 | 620 | ||
621 | /* | 621 | /* |
622 | * This is the usual interrupt handler which will be called during a packet | ||
623 | * command. We will transfer some of the data (as requested by the drive) and | ||
624 | * will re-point interrupt handler to us. When data transfer is finished, we | ||
625 | * will act according to the algorithm described before | ||
626 | * idetape_issue_pc. | ||
627 | */ | ||
628 | static ide_startstop_t idetape_pc_intr(ide_drive_t *drive) | ||
629 | { | ||
630 | return ide_pc_intr(drive, idetape_pc_intr); | ||
631 | } | ||
632 | |||
633 | /* | ||
634 | * Packet Command Interface | 622 | * Packet Command Interface |
635 | * | 623 | * |
636 | * The current Packet Command is available in drive->pc, and will not change | 624 | * The current Packet Command is available in drive->pc, and will not change |
@@ -640,9 +628,9 @@ static ide_startstop_t idetape_pc_intr(ide_drive_t *drive) | |||
640 | * The handling will be done in three stages: | 628 | * The handling will be done in three stages: |
641 | * | 629 | * |
642 | * 1. idetape_issue_pc will send the packet command to the drive, and will set | 630 | * 1. idetape_issue_pc will send the packet command to the drive, and will set |
643 | * the interrupt handler to idetape_pc_intr. | 631 | * the interrupt handler to ide_pc_intr. |
644 | * | 632 | * |
645 | * 2. On each interrupt, idetape_pc_intr will be called. This step will be | 633 | * 2. On each interrupt, ide_pc_intr will be called. This step will be |
646 | * repeated until the device signals us that no more interrupts will be issued. | 634 | * repeated until the device signals us that no more interrupts will be issued. |
647 | * | 635 | * |
648 | * 3. ATAPI Tape media access commands have immediate status with a delayed | 636 | * 3. ATAPI Tape media access commands have immediate status with a delayed |
@@ -668,7 +656,7 @@ static ide_startstop_t idetape_pc_intr(ide_drive_t *drive) | |||
668 | */ | 656 | */ |
669 | static ide_startstop_t idetape_transfer_pc(ide_drive_t *drive) | 657 | static ide_startstop_t idetape_transfer_pc(ide_drive_t *drive) |
670 | { | 658 | { |
671 | return ide_transfer_pc(drive, idetape_pc_intr, WAIT_TAPE_CMD, NULL); | 659 | return ide_transfer_pc(drive, WAIT_TAPE_CMD, NULL); |
672 | } | 660 | } |
673 | 661 | ||
674 | static ide_startstop_t idetape_issue_pc(ide_drive_t *drive, | 662 | static ide_startstop_t idetape_issue_pc(ide_drive_t *drive, |