ahci: use interrupt status register
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 14 Jul 2011 14:24:00 +0000 (16:24 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 25 Jul 2011 03:28:57 +0000 (23:28 -0400)
commit07532971328210fc6182d4f72b00147294dd484a
tree909ff81fedade04382aa94b2eacd75b6fe061c49
parenta8c6a4e820d214e03ab591b11f0fdf5803718378
ahci: use interrupt status register

Poll interrupt status register to figure when the device has updated the
status and possibly finished the request, continue polling until BSY is
clear as we might see multiple status updates per request.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/ahci.c