Always set half'n'half mode on ICH* chips.

This commit is contained in:
Søren Schmidt 2004-10-01 09:06:22 +00:00
parent 49686bbcaf
commit 844acbc7a3

View File

@ -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