diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2004-08-06 22:23:53 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2004-08-06 22:23:53 +0000 |
| commit | c68afc9d21d0dfb5c854e7969d90e6be00e77cbd (patch) | |
| tree | bdc33355f0797767465054c8013a200106662d52 /sys/dev/ata | |
| parent | cc701b73b80497100a363d496cc881405ee66129 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/ata-lowlevel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c index e305085f03e2f..e5589e4760f70 100644 --- a/sys/dev/ata/ata-lowlevel.c +++ b/sys/dev/ata/ata-lowlevel.c @@ -295,7 +295,7 @@ ata_generic_transaction(struct ata_request *request) } /* request finish here */ - if (ch->dma->flags & ATA_DMA_LOADED) + if (request->flags & ATA_R_DMA && ch->dma->flags & ATA_DMA_LOADED) ch->dma->unload(ch); return ATA_OP_FINISHED; } |
