diff options
Diffstat (limited to 'drivers/ide/ide-floppy.c')
-rw-r--r-- | drivers/ide/ide-floppy.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index e7a1025c03c4..13f650fa2125 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c | |||
@@ -619,7 +619,7 @@ static ide_startstop_t idefloppy_issue_pc(ide_drive_t *drive, | |||
619 | 619 | ||
620 | ide_pktcmd_tf_load(drive, IDE_TFLAG_OUT_DEVICE, bcount, dma); | 620 | ide_pktcmd_tf_load(drive, IDE_TFLAG_OUT_DEVICE, bcount, dma); |
621 | 621 | ||
622 | if (floppy->flags & IDEFLOPPY_FLAG_DRQ_INTERRUPT) { | 622 | if (pc->flags & PC_FLAG_DRQ_INTERRUPT) { |
623 | /* Issue the packet command */ | 623 | /* Issue the packet command */ |
624 | ide_execute_command(drive, WIN_PACKETCMD, | 624 | ide_execute_command(drive, WIN_PACKETCMD, |
625 | &idefloppy_transfer_pc1, | 625 | &idefloppy_transfer_pc1, |
@@ -800,6 +800,9 @@ static ide_startstop_t idefloppy_do_request(ide_drive_t *drive, | |||
800 | return ide_stopped; | 800 | return ide_stopped; |
801 | } | 801 | } |
802 | 802 | ||
803 | if (floppy->flags & IDEFLOPPY_FLAG_DRQ_INTERRUPT) | ||
804 | pc->flags |= PC_FLAG_DRQ_INTERRUPT; | ||
805 | |||
803 | if (floppy->flags & IDEFLOPPY_FLAG_ZIP_DRIVE) | 806 | if (floppy->flags & IDEFLOPPY_FLAG_ZIP_DRIVE) |
804 | pc->flags |= PC_FLAG_ZIP_DRIVE; | 807 | pc->flags |= PC_FLAG_ZIP_DRIVE; |
805 | 808 | ||