summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2004-10-01 09:06:22 +0000
committersos <sos@FreeBSD.org>2004-10-01 09:06:22 +0000
commit104924bb066bb584ad43a48720f7fec7806b64e7 (patch)
tree4bdefa88d1777fad0e93f18f920f97ad111c865b
parenta2615e3bda06614729f54affd6180a79275cf3c7 (diff)
downloadFreeBSD-src-104924bb066bb584ad43a48720f7fec7806b64e7.zip
FreeBSD-src-104924bb066bb584ad43a48720f7fec7806b64e7.tar.gz
Always set half'n'half mode on ICH* chips.
-rw-r--r--sys/dev/ata/ata-chipset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c
index 6a0ed25..b10fab6 100644
--- a/sys/dev/ata/ata-chipset.c
+++ b/sys/dev/ata/ata-chipset.c
@@ -976,6 +976,7 @@ ata_intel_new_setmode(struct ata_device *atadev, int mode)
pci_write_config(parent, 0x48, reg48 & ~(0x0001 << devno), 2);
pci_write_config(parent, 0x4a, (reg4a & ~(0x3 << (devno << 2))), 2);
}
+ reg54 |= 0x0400;
if (mode >= ATA_UDMA2)
pci_write_config(parent, 0x54, reg54 | (0x1 << devno), 2);
else
OpenPOWER on IntegriCloud