aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-floppy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-floppy.c')
-rw-r--r--drivers/ide/ide-floppy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c
index 830186fdcc74..d4fd064cc76c 100644
--- a/drivers/ide/ide-floppy.c
+++ b/drivers/ide/ide-floppy.c
@@ -1071,8 +1071,8 @@ static ide_startstop_t idefloppy_issue_pc (ide_drive_t *drive, idefloppy_pc_t *p
1071 HWIF(drive)->OUTB(drive->ctl, IDE_CONTROL_REG); 1071 HWIF(drive)->OUTB(drive->ctl, IDE_CONTROL_REG);
1072 /* Use PIO/DMA */ 1072 /* Use PIO/DMA */
1073 hwif->OUTB(dma, IDE_FEATURE_REG); 1073 hwif->OUTB(dma, IDE_FEATURE_REG);
1074 hwif->OUTB((bcount >> 8) & 0xff, IDE_BCOUNTH_REG);
1075 hwif->OUTB(bcount & 0xff, IDE_BCOUNTL_REG); 1074 hwif->OUTB(bcount & 0xff, IDE_BCOUNTL_REG);
1075 hwif->OUTB((bcount >> 8) & 0xff, IDE_BCOUNTH_REG);
1076 HWIF(drive)->OUTB(drive->select.all, IDE_SELECT_REG); 1076 HWIF(drive)->OUTB(drive->select.all, IDE_SELECT_REG);
1077 1077
1078 if (dma) { /* Begin DMA, if necessary */ 1078 if (dma) { /* Begin DMA, if necessary */