commit | c04bbc812b05b304a9118687d0e0a47e35f00d1d | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Tue Jul 15 21:21:51 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Tue Jul 15 21:21:51 2008 +0200 |
tree | 62a76e3a893cbec2aeee1fc01fd716f9fdc64fbc | |
parent | e8e25f03e19c2c47834c821511625c0b80567827 [diff] |
ide-scsi: fix handling of DMA errors in idescsi_pc_intr() Check return value of ->dma_end method and if there was a DMA error handle it accordingly (set PC_FLAG_DMA_ERROR pc flag, don't update pc->xferred and increase rq->errors). Also move debug message in the right place while at it. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>