ide-scsi: fix Interrupt Reason checking in idescsi_pc_intr()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:52 +0000 (21:21 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:52 +0000 (21:21 +0200)
commit6c60bd8ea7aa536d67830bc8384ef0ebdfb8aad4
tree6e6cb8fe2b80ef19e4e48ad6fefeba6909cbffa3
parentc04bbc812b05b304a9118687d0e0a47e35f00d1d
ide-scsi: fix Interrupt Reason checking in idescsi_pc_intr()

Set PC_FLAG_WRITING pc flag in idescsi_queue() (if needed)
and then fix Interrupt Reason checking in idescsi_pc_intr().

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