Fix AHCI mode on i82801gx. Fixes SATA hotplug on iBASE:MB899.

Signed-off-by: Bernhard M. Wiedermann <corebootbmw@lsmod.de>
Acked-by: Myles Watson <mylesgw@gmail.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5479 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Bernhard M. Wiedermann 2010-04-22 22:47:29 +00:00 committed by Myles Watson
parent f75b19ac85
commit 676939620a
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ static void sata_init(struct device *dev)
pci_write_config32(dev, IDE_CONFIG, reg32);
/* Set Sata Controller Mode. */
pci_write_config8(dev, 0x90, 0xc0); // WTF - Reserved?
pci_write_config8(dev, 0x90, 0x40); // 40=AHCI
/* Port 0 & 1 enable */
pci_write_config8(dev, 0x92, 0x0f);