Submitter | Bernhard M. Wiedemann |
---|---|
Date | 2010-04-22 14:33:31 |
Message ID | <20100422143331.GA20657@zq1.de> |
Download | mbox | patch |
Permalink | /patch/1256/ |
State | Accepted |
Commit | r5479 |
Headers | show |
Comments
On Thu, Apr 22, 2010 at 8:33 AM, Bernhard M. Wiedemann <corebootbmw@lsmod.de> wrote: > This patch fixes AHCI mode on i82801g. > By that it also fixes SATA-hotplug on iBASE:MB899 > > Signed-off-by: Bernhard M. Wiedemann <corebootbmw@lsmod.de> Acked-by: Myles Watson <mylesgw@gmail.com> Rev 5479. Thanks, Myles
Patch
Index: src/southbridge/intel/i82801gx/i82801gx_sata.c =================================================================== --- src/southbridge/intel/i82801gx/i82801gx_sata.c (Revision 5477) +++ src/southbridge/intel/i82801gx/i82801gx_sata.c (Arbeitskopie) @@ -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);
This patch fixes AHCI mode on i82801g. By that it also fixes SATA-hotplug on iBASE:MB899 Signed-off-by: Bernhard M. Wiedemann <corebootbmw@lsmod.de>