summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-dma.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2000-09-24 18:19:43 +0000
committersos <sos@FreeBSD.org>2000-09-24 18:19:43 +0000
commit1e62854c841a85648caea4331197b7f2ca19b862 (patch)
tree917add8b4b2adc7c72f16a27717fddaafdf1dcfb /sys/dev/ata/ata-dma.c
parent6fe9a920d14260eca6c25a8fc9eae4c392a0a829 (diff)
downloadFreeBSD-src-1e62854c841a85648caea4331197b7f2ca19b862.zip
FreeBSD-src-1e62854c841a85648caea4331197b7f2ca19b862.tar.gz
Fix the breakage that snatched the ioports from the fdc device.
Fix promise support.
Diffstat (limited to 'sys/dev/ata/ata-dma.c')
-rw-r--r--sys/dev/ata/ata-dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c
index 3385b67..46ebbd1 100644
--- a/sys/dev/ata/ata-dma.c
+++ b/sys/dev/ata/ata-dma.c
@@ -524,7 +524,7 @@ via_82c586:
(device == ATA_SLAVE && scp->devices & ATA_ATAPI_SLAVE))
break;
- if (udmamode >=5 &&
+ if (udmamode >= 5 &&
(scp->chiptype == 0x4d30105a || scp->chiptype == 0x0d30105a) &&
!(pci_read_config(parent, 0x50, 2)&(scp->unit ? 1<<11 : 1<<10))) {
error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
@@ -539,7 +539,7 @@ via_82c586:
return;
}
}
- if (udmamode >=4 && (scp->chiptype == 0x4d38105a ||
+ if (udmamode >= 4 && (scp->chiptype == 0x4d38105a ||
scp->chiptype == 0x4d30105a || scp->chiptype == 0x0d30105a) &&
!(pci_read_config(parent, 0x50, 2)&(scp->unit ? 1<<11 : 1<<10))) {
error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
OpenPOWER on IntegriCloud