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
diff --git a/src/southbridge/intel/i82801gx/i82801gx_sata.c b/src/southbridge/intel/i82801gx/i82801gx_sata.c
index 50cdb48..a5be987 100644
--- a/src/southbridge/intel/i82801gx/i82801gx_sata.c
+++ b/src/southbridge/intel/i82801gx/i82801gx_sata.c
@@ -104,7 +104,7 @@
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);