diff options
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r-- | drivers/ide/ide-tape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 3539131f23f4..d1f2446739a4 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c | |||
@@ -2174,8 +2174,8 @@ static ide_startstop_t idetape_issue_packet_command (ide_drive_t *drive, idetape | |||
2174 | if (IDE_CONTROL_REG) | 2174 | if (IDE_CONTROL_REG) |
2175 | hwif->OUTB(drive->ctl, IDE_CONTROL_REG); | 2175 | hwif->OUTB(drive->ctl, IDE_CONTROL_REG); |
2176 | hwif->OUTB(dma_ok ? 1 : 0, IDE_FEATURE_REG); /* Use PIO/DMA */ | 2176 | hwif->OUTB(dma_ok ? 1 : 0, IDE_FEATURE_REG); /* Use PIO/DMA */ |
2177 | hwif->OUTB((bcount >> 8) & 0xff, IDE_BCOUNTH_REG); | ||
2178 | hwif->OUTB(bcount & 0xff, IDE_BCOUNTL_REG); | 2177 | hwif->OUTB(bcount & 0xff, IDE_BCOUNTL_REG); |
2178 | hwif->OUTB((bcount >> 8) & 0xff, IDE_BCOUNTH_REG); | ||
2179 | hwif->OUTB(drive->select.all, IDE_SELECT_REG); | 2179 | hwif->OUTB(drive->select.all, IDE_SELECT_REG); |
2180 | if (dma_ok) /* Will begin DMA later */ | 2180 | if (dma_ok) /* Will begin DMA later */ |
2181 | set_bit(PC_DMA_IN_PROGRESS, &pc->flags); | 2181 | set_bit(PC_DMA_IN_PROGRESS, &pc->flags); |