Unload DMA slot on device timeouts.

This commit is contained in:
Søren Schmidt 2008-04-21 10:35:19 +00:00
parent 629f08ade0
commit 7963bde3d2

View File

@ -503,6 +503,7 @@ ata_timeout(struct ata_request *request)
request->flags |= ATA_R_TIMEOUT;
mtx_unlock(&ch->state_mtx);
ATA_LOCKING(ch->dev, ATA_LF_UNLOCK);
ch->dma.unload(request);
ata_finish(request);
}
else {