ide-{floppy,scsi}: read Status Register before stopping DMA engine
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:22:03 +0000 (21:22 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:22:03 +0000 (21:22 +0200)
commit55d82bfa6763d6761670d740ab3bac2f1c042d87
treedd5e13c6c4801a4853ee0ce5f11469ab05ba6c31
parentcdca5c1f3b769eb2cdfc9cadc254cb74ba73c7d6
ide-{floppy,scsi}: read Status Register before stopping DMA engine

Read Status Register before stopping DMA engine to match ide-tape
device driver - it should be safe and shouldn't affect anything.

This is a preparation for adding generic ide_pc_intr() helper.

Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-floppy.c
drivers/scsi/ide-scsi.c