The device number of SATA SB700 is 0x11, while the one of SB600 is 0x12.
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
This commit is contained in:
parent
4186d8e6ea
commit
b6128b6d05
|
@ -23,7 +23,7 @@
|
||||||
Scope (_SB) {
|
Scope (_SB) {
|
||||||
Device(PCI0) {
|
Device(PCI0) {
|
||||||
Device(SATA) {
|
Device(SATA) {
|
||||||
Name(_ADR, 0x00120000)
|
Name(_ADR, 0x00110000)
|
||||||
#include "sata.asl"
|
#include "sata.asl"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -271,7 +271,7 @@ DefinitionBlock (
|
||||||
* ((bus number + 1) * ((device number * 8) * 4096)) + register offset
|
* ((bus number + 1) * ((device number * 8) * 4096)) + register offset
|
||||||
* The 8 comes from 8 functions per device, and 4096 bytes per function config space
|
* 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,
|
STB5, 32,
|
||||||
Offset(0x00098042), /* Byte offset to OHCI0 register 42h - Bus 0, Device 19, Function 0 */
|
Offset(0x00098042), /* Byte offset to OHCI0 register 42h - Bus 0, Device 19, Function 0 */
|
||||||
PT0D, 1,
|
PT0D, 1,
|
||||||
|
@ -1447,7 +1447,7 @@ DefinitionBlock (
|
||||||
Store (0x02, SIOD)
|
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.
|
* up the system by pressing the key.
|
||||||
*/
|
*/
|
||||||
Method (SIOS, 1)
|
Method (SIOS, 1)
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
Scope (_SB) {
|
Scope (_SB) {
|
||||||
Device(PCI0) {
|
Device(PCI0) {
|
||||||
Device(SATA) {
|
Device(SATA) {
|
||||||
Name(_ADR, 0x00120000)
|
Name(_ADR, 0x00110000)
|
||||||
#include "sata.asl"
|
#include "sata.asl"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -313,7 +313,7 @@ DefinitionBlock (
|
||||||
* ((bus number + 1) * ((device number * 8) * 4096)) + register offset
|
* ((bus number + 1) * ((device number * 8) * 4096)) + register offset
|
||||||
* The 8 comes from 8 functions per device, and 4096 bytes per function config space
|
* 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,
|
STB5, 32,
|
||||||
Offset(0x00098042), /* Byte offset to OHCI0 register 42h - Bus 0, Device 19, Function 0 */
|
Offset(0x00098042), /* Byte offset to OHCI0 register 42h - Bus 0, Device 19, Function 0 */
|
||||||
PT0D, 1,
|
PT0D, 1,
|
||||||
|
@ -1489,7 +1489,7 @@ DefinitionBlock (
|
||||||
Store (0x02, SIOD)
|
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.
|
* up the system by pressing the key.
|
||||||
*/
|
*/
|
||||||
Method (SIOS, 1)
|
Method (SIOS, 1)
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
Scope (_SB) {
|
Scope (_SB) {
|
||||||
Device(PCI0) {
|
Device(PCI0) {
|
||||||
Device(SATA) {
|
Device(SATA) {
|
||||||
Name(_ADR, 0x00120000)
|
Name(_ADR, 0x00110000)
|
||||||
#include "sata.asl"
|
#include "sata.asl"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -313,7 +313,7 @@ DefinitionBlock (
|
||||||
* ((bus number + 1) * ((device number * 8) * 4096)) + register offset
|
* ((bus number + 1) * ((device number * 8) * 4096)) + register offset
|
||||||
* The 8 comes from 8 functions per device, and 4096 bytes per function config space
|
* 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,
|
STB5, 32,
|
||||||
Offset(0x00098042), /* Byte offset to OHCI0 register 42h - Bus 0, Device 19, Function 0 */
|
Offset(0x00098042), /* Byte offset to OHCI0 register 42h - Bus 0, Device 19, Function 0 */
|
||||||
PT0D, 1,
|
PT0D, 1,
|
||||||
|
@ -1489,7 +1489,7 @@ DefinitionBlock (
|
||||||
Store (0x02, SIOD)
|
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.
|
* up the system by pressing the key.
|
||||||
*/
|
*/
|
||||||
Method (SIOS, 1)
|
Method (SIOS, 1)
|
||||||
|
|
Loading…
Reference in New Issue