Yinghai Lu | d95465d | 2006-10-04 23:09:09 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2005 AMD |
| 3 | */ |
| 4 | DefinitionBlock ("SSDT3.aml", "SSDT", 1, "AMD-K8", "AMDACPI", 100925440) |
| 5 | { |
| 6 | Scope (_SB) |
| 7 | { |
| 8 | External (DADD, MethodObj) |
| 9 | External (GHCE, MethodObj) |
| 10 | External (GHCN, MethodObj) |
| 11 | External (GHCL, MethodObj) |
| 12 | External (GHCD, MethodObj) |
| 13 | External (GNUS, MethodObj) |
| 14 | External (GIOR, MethodObj) |
| 15 | External (GMEM, MethodObj) |
| 16 | External (GWBN, MethodObj) |
| 17 | External (GBUS, MethodObj) |
| 18 | |
| 19 | External (PICF) |
| 20 | |
| 21 | External (\_SB.PCI0.LNKA, DeviceObj) |
| 22 | External (\_SB.PCI0.LNKB, DeviceObj) |
| 23 | External (\_SB.PCI0.LNKC, DeviceObj) |
| 24 | External (\_SB.PCI0.LNKD, DeviceObj) |
| 25 | |
| 26 | Device (PCIX) |
| 27 | { |
| 28 | |
| 29 | // BUS ? Second HT Chain |
| 30 | Name (HCIN, 0xcc) // HC2 0x01 |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 31 | |
Yinghai Lu | d95465d | 2006-10-04 23:09:09 +0000 | [diff] [blame] | 32 | Name (_UID, 0xdd) // HC 0x03 |
| 33 | |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 34 | Name (_HID, "PNP0A03") |
Yinghai Lu | d95465d | 2006-10-04 23:09:09 +0000 | [diff] [blame] | 35 | |
| 36 | Method (_ADR, 0, NotSerialized) //Fake bus should be 0 |
| 37 | { |
| 38 | Return (DADD(GHCN(HCIN), 0x00000000)) |
| 39 | } |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 40 | |
Yinghai Lu | d95465d | 2006-10-04 23:09:09 +0000 | [diff] [blame] | 41 | Method (_BBN, 0, NotSerialized) |
| 42 | { |
| 43 | Return (GBUS (GHCN(HCIN), GHCL(HCIN))) |
| 44 | } |
| 45 | |
| 46 | Method (_STA, 0, NotSerialized) |
| 47 | { |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 48 | Return (\_SB.GHCE(HCIN)) |
Yinghai Lu | d95465d | 2006-10-04 23:09:09 +0000 | [diff] [blame] | 49 | } |
| 50 | |
| 51 | Method (_CRS, 0, NotSerialized) |
| 52 | { |
| 53 | Name (BUF0, ResourceTemplate () { }) |
| 54 | Store( GHCN(HCIN), Local4) |
| 55 | Store( GHCL(HCIN), Local5) |
| 56 | |
| 57 | Concatenate (\_SB.GIOR (Local4, Local5), BUF0, Local1) |
| 58 | Concatenate (\_SB.GMEM (Local4, Local5), Local1, Local2) |
| 59 | Concatenate (\_SB.GWBN (Local4, Local5), Local2, Local3) |
| 60 | Return (Local3) |
| 61 | } |
| 62 | |
Patrick Georgi | af97d33 | 2010-02-08 15:46:37 +0000 | [diff] [blame] | 63 | #include "acpi/pci3_hc.asl" |
Yinghai Lu | d95465d | 2006-10-04 23:09:09 +0000 | [diff] [blame] | 64 | } |
| 65 | } |
| 66 | |
| 67 | } |