diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 2004-08-07 12:49:28 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 2004-08-07 12:49:28 +0000 |
| commit | ba0b5c1c3b0eec246be664ba0e782fa25133d6fd (patch) | |
| tree | 3704debff9a98b5e44c376ca237fcdcd20f8b369 /sys/dev/ata | |
| parent | 251b8d45572997fa7c02c9d3f03e4e2786253224 (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 e5589e4760f70..f747a36c01fc6 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 (request->flags & ATA_R_DMA && ch->dma->flags & ATA_DMA_LOADED) + if (ch->dma && ch->dma->flags & ATA_DMA_LOADED) ch->dma->unload(ch); return ATA_OP_FINISHED; } |
