]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-scsi: fix DRQ checking for DMA transfers in idescsi_pc_intr()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:51 +0000 (21:21 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:51 +0000 (21:21 +0200)
commite8e25f03e19c2c47834c821511625c0b80567827
tree1dfdfe2f3be1165352299100329d1e77b9508fa7
parentb3d96afccf8b5c67b66a61efb88c53ff029c6611
ide-scsi: fix DRQ checking for DMA transfers in idescsi_pc_intr()

If DRQ bit of Status Register is not cleared it is an error condition
and should be handled accordingly (disable DMA + reset the device).

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