From 104924bb066bb584ad43a48720f7fec7806b64e7 Mon Sep 17 00:00:00 2001 From: sos Date: Fri, 1 Oct 2004 09:06:22 +0000 Subject: [PATCH] Always set half'n'half mode on ICH* chips. --- sys/dev/ata/ata-chipset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c index 6a0ed2545247..b10fab68220d 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