ide-atapi: teach ide atapi about drive->waiting_for_dma
authorBorislav Petkov <petkovbb@googlemail.com>
Fri, 2 Jan 2009 15:12:53 +0000 (16:12 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 2 Jan 2009 15:12:53 +0000 (16:12 +0100)
commit5f25843fa79b7c35097b0ffe8b2c5cc2428d6495
tree6d3c445e97390645c85a678542d5fc16a46b50ce
parent392de1d53dd40e2eebee3a0a26aa647a3865ca78
ide-atapi: teach ide atapi about drive->waiting_for_dma

In addition, we wait for DRQ to be asserted by repeatedly polling
device status no matter what DRQ type each device implements.

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