|
@@ -2174,8 +2174,8 @@ static ide_startstop_t idetape_issue_packet_command (ide_drive_t *drive, idetape
|
|
|
if (IDE_CONTROL_REG)
|
|
|
hwif->OUTB(drive->ctl, IDE_CONTROL_REG);
|
|
|
hwif->OUTB(dma_ok ? 1 : 0, IDE_FEATURE_REG); /* Use PIO/DMA */
|
|
|
- hwif->OUTB((bcount >> 8) & 0xff, IDE_BCOUNTH_REG);
|
|
|
hwif->OUTB(bcount & 0xff, IDE_BCOUNTL_REG);
|
|
|
+ hwif->OUTB((bcount >> 8) & 0xff, IDE_BCOUNTH_REG);
|
|
|
hwif->OUTB(drive->select.all, IDE_SELECT_REG);
|
|
|
if (dma_ok) /* Will begin DMA later */
|
|
|
set_bit(PC_DMA_IN_PROGRESS, &pc->flags);
|