The device number of SATA SB700 is 0x11, while the one of SB600 is 0x12.
authorZheng Bao <zheng.bao@amd.com>
Sun, 25 Apr 2010 11:53:09 +0000 (11:53 +0000)
committerZheng Bao <Zheng.Bao@amd.com>
Sun, 25 Apr 2010 11:53:09 +0000 (11:53 +0000)
We changed almost associated code when we ported but overlooked some.
Some legacy of SB600 are also fixed.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5490 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/mainboard/amd/mahogany/acpi/sata.asl
src/mainboard/amd/mahogany/dsdt.asl
src/mainboard/amd/mahogany_fam10/acpi/sata.asl
src/mainboard/amd/mahogany_fam10/dsdt.asl
src/mainboard/amd/tilapia_fam10/acpi/sata.asl
src/mainboard/amd/tilapia_fam10/dsdt.asl

index 7c4d13483f8f1a9ac1a4be8e9f21960505a2623f..b5e6fc5665ae700e271dbe6375ab5fc32c442a1b 100644 (file)
@@ -23,7 +23,7 @@
 Scope (_SB) {
        Device(PCI0) {
                Device(SATA) {
-                       Name(_ADR, 0x00120000)
+                       Name(_ADR, 0x00110000)
                        #include "sata.asl"
                }
        }
index 381aa3242ff82d42480bb1ff0199276109882bbb..2b6857bcbedb4636e87441368171819fda6a5c02 100644 (file)
@@ -271,7 +271,7 @@ DefinitionBlock (
                         * ((bus number + 1) * ((device number * 8) * 4096)) + register offset
                         * The 8 comes from 8 functions per device, and 4096 bytes per function config space
                        */
-                       Offset(0x00090024),     /* Byte offset to SATA register 24h - Bus 0, Device 18, Function 0 */
+                       Offset(0x00088024),     /* Byte offset to SATA register 24h - Bus 0, Device 18, Function 0 */
                        STB5, 32,
                        Offset(0x00098042),     /* Byte offset to OHCI0 register 42h - Bus 0, Device 19, Function 0 */
                        PT0D, 1,
@@ -1447,7 +1447,7 @@ DefinitionBlock (
                                Store (0x02, SIOD)
                        }
                        /*
-                        * Keyboard PME is routed to SB600 Gevent3. We can wake
+                        * Keyboard PME is routed to SB700 Gevent3. We can wake
                         * up the system by pressing the key.
                         */
                        Method (SIOS, 1)
index 7c4d13483f8f1a9ac1a4be8e9f21960505a2623f..b5e6fc5665ae700e271dbe6375ab5fc32c442a1b 100644 (file)
@@ -23,7 +23,7 @@
 Scope (_SB) {
        Device(PCI0) {
                Device(SATA) {
-                       Name(_ADR, 0x00120000)
+                       Name(_ADR, 0x00110000)
                        #include "sata.asl"
                }
        }
index 48e0aeabb0021898871b6ce9ebce9e68cfb20f18..32fb7a0183087ddd2483f953927cebb0226f3a8c 100644 (file)
@@ -313,7 +313,7 @@ DefinitionBlock (
                         * ((bus number + 1) * ((device number * 8) * 4096)) + register offset
                         * The 8 comes from 8 functions per device, and 4096 bytes per function config space
                        */
-                       Offset(0x00090024),     /* Byte offset to SATA register 24h - Bus 0, Device 18, Function 0 */
+                       Offset(0x00088024),     /* Byte offset to SATA register 24h - Bus 0, Device 18, Function 0 */
                        STB5, 32,
                        Offset(0x00098042),     /* Byte offset to OHCI0 register 42h - Bus 0, Device 19, Function 0 */
                        PT0D, 1,
@@ -1489,7 +1489,7 @@ DefinitionBlock (
                                Store (0x02, SIOD)
                        }
                        /*
-                        * Keyboard PME is routed to SB600 Gevent3. We can wake
+                        * Keyboard PME is routed to SB700 Gevent3. We can wake
                         * up the system by pressing the key.
                         */
                        Method (SIOS, 1)
index 7c4d13483f8f1a9ac1a4be8e9f21960505a2623f..b5e6fc5665ae700e271dbe6375ab5fc32c442a1b 100644 (file)
@@ -23,7 +23,7 @@
 Scope (_SB) {
        Device(PCI0) {
                Device(SATA) {
-                       Name(_ADR, 0x00120000)
+                       Name(_ADR, 0x00110000)
                        #include "sata.asl"
                }
        }
index ad676850c15c55346c8bd69faa344ba8bd3c03eb..7176e6f36f68554ab3c2d4cab1275f4dbc3f09b4 100644 (file)
@@ -313,7 +313,7 @@ DefinitionBlock (
                         * ((bus number + 1) * ((device number * 8) * 4096)) + register offset
                         * The 8 comes from 8 functions per device, and 4096 bytes per function config space
                        */
-                       Offset(0x00090024),     /* Byte offset to SATA register 24h - Bus 0, Device 18, Function 0 */
+                       Offset(0x00088024),     /* Byte offset to SATA register 24h - Bus 0, Device 18, Function 0 */
                        STB5, 32,
                        Offset(0x00098042),     /* Byte offset to OHCI0 register 42h - Bus 0, Device 19, Function 0 */
                        PT0D, 1,
@@ -1489,7 +1489,7 @@ DefinitionBlock (
                                Store (0x02, SIOD)
                        }
                        /*
-                        * Keyboard PME is routed to SB600 Gevent3. We can wake
+                        * Keyboard PME is routed to SB700 Gevent3. We can wake
                         * up the system by pressing the key.
                         */
                        Method (SIOS, 1)