diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 2000-10-24 13:50:22 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 2000-10-24 13:50:22 +0000 |
| commit | 7f7e251f51d5c1bff96292f7edbe513c97b022fe (patch) | |
| tree | f9ad4deb707dc16d48738f0fb40e73be0ff11d17 /sys/dev/ata | |
| parent | 82494980f272409af0ddaa3f02bebca4494ef942 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/ata-all.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index a5397254d0ee..947d82053ffe 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -1107,8 +1107,7 @@ out: #endif default: if (scp->flags & ATA_DMA_ACTIVE) { - if (((dmastat = ata_dmastatus(scp)) & - (ATA_BMSTAT_ACTIVE|ATA_BMSTAT_INTERRUPT))!=ATA_BMSTAT_INTERRUPT) + if (!((dmastat = ata_dmastatus(scp)) & ATA_BMSTAT_INTERRUPT)) return; outb(scp->bmaddr + ATA_BMSTAT_PORT, dmastat | ATA_BMSTAT_INTERRUPT); } |
