summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard M. Wiedermann <corebootbmw@lsmod.de>2010-04-22 22:47:29 +0000
committerMyles Watson <mylesgw@gmail.com>2010-04-22 22:47:29 +0000
commit676939620a0a7d3e1a763a8b363a14f35eb5dd87 (patch)
treef481f05191d07042e292b385f1aaf78e6e1b10e3
parentf75b19ac85ccfffba5eca37700d4c705b24a355e (diff)
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
-rw-r--r--src/southbridge/intel/i82801gx/i82801gx_sata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801gx/i82801gx_sata.c b/src/southbridge/intel/i82801gx/i82801gx_sata.c
index 50cdb48131..a5be98735c 100644
--- a/src/southbridge/intel/i82801gx/i82801gx_sata.c
+++ b/src/southbridge/intel/i82801gx/i82801gx_sata.c
@@ -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);