diff options
author | sos <sos@FreeBSD.org> | 2008-04-21 10:35:19 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2008-04-21 10:35:19 +0000 |
commit | 49fded62acbfdc55c5e0ff36b6721c9cace4e998 (patch) | |
tree | c9f6271fa26615c208206dbae711c1c75d988913 /sys/dev/ata | |
parent | 78988be5193b97aa87ae44a222e714b8cbea0d0d (diff) | |
download | FreeBSD-src-49fded62acbfdc55c5e0ff36b6721c9cace4e998.zip FreeBSD-src-49fded62acbfdc55c5e0ff36b6721c9cace4e998.tar.gz |
Unload DMA slot on device timeouts.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/ata-queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c index 5152faa..5e34e69 100644 --- a/sys/dev/ata/ata-queue.c +++ b/sys/dev/ata/ata-queue.c @@ -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 { |