diff options
author | Stefan Reinauer <stepan@openbios.org> | 2006-01-05 00:18:41 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2006-01-05 00:18:41 +0000 |
commit | f1c0fc7ff27832c52e1a3305ecb720ec9b29ce1b (patch) | |
tree | f4e8ca1abe6a522f2da464eb00e3b857fc2fd367 /src/mainboard/agami/aruma/dx/pci4.asl | |
parent | 0571a95262be0d58dc28a3f0fba2c69dc543b018 (diff) |
latest agami/aruma changes. Compiles but won't boot yet
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2154 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/agami/aruma/dx/pci4.asl')
-rw-r--r-- | src/mainboard/agami/aruma/dx/pci4.asl | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/mainboard/agami/aruma/dx/pci4.asl b/src/mainboard/agami/aruma/dx/pci4.asl new file mode 100644 index 0000000000..ae0700405a --- /dev/null +++ b/src/mainboard/agami/aruma/dx/pci4.asl @@ -0,0 +1,69 @@ +/* + * Copyright 2005 AMD + */ +DefinitionBlock ("SSDT4.aml", "SSDT", 1, "AMD-K8", "AMDACPI", 100925440) +{ + Scope (_SB) + { + External (DADD, MethodObj) + External (GHCE, MethodObj) + External (GHCN, MethodObj) + External (GHCL, MethodObj) + External (GHCD, MethodObj) + External (GNUS, MethodObj) + External (GIOR, MethodObj) + External (GMEM, MethodObj) + External (GWBN, MethodObj) + External (GBUS, MethodObj) + + External (PICF) + + External (\_SB.PCI1.LNKA, DeviceObj) + External (\_SB.PCI1.LNKB, DeviceObj) + External (\_SB.PCI1.LNKC, DeviceObj) + External (\_SB.PCI1.LNKD, DeviceObj) + + + Device (PCI4) + { + + // BUS ? Second HT Chain + Name (HCIN, 0x03) // HC4 + + Name (_HID, "PNP0A03") + + Method (_ADR, 0, NotSerialized) //Fake bus should be 0 + { + Return (DADD(GHCN(HCIN), 0x00180000)) + } + + Name (_UID, 0x05) + + Method (_BBN, 0, NotSerialized) + { + Return (GBUS (GHCN(HCIN), GHCL(HCIN))) + } + + Method (_STA, 0, NotSerialized) + { + Return (\_SB.GHCE(HCIN)) + } + + Method (_CRS, 0, NotSerialized) + { + Name (BUF0, ResourceTemplate () { }) + Store( GHCN(HCIN), Local4) + Store( GHCL(HCIN), Local5) + + Concatenate (\_SB.GIOR (Local4, Local5), BUF0, Local1) + Concatenate (\_SB.GMEM (Local4, Local5), Local1, Local2) + Concatenate (\_SB.GWBN (Local4, Local5), Local2, Local3) + Return (Local3) + } + + Include ("pci2_hc.asl") + } + } + +} + |