1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
|
From ffdb5fd36669b7f722d46777f421d4ee37005f1c Mon Sep 17 00:00:00 2001
From: Timothy Pearson <tpearson@raptorengineeringinc.com>
Date: Fri, 12 Jun 2015 13:32:52 -0500
Subject: [PATCH 055/139] mainboard/asus/kgpe-d16: Add missing IRQ routing for
PIKE card
Change-Id: I6eba36dad71a2a2713181382484dc0e0976e1dad
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
---
src/mainboard/asus/kgpe-d16/dsdt.asl | 74 +++++++++++++++++++++++++++---------
1 file changed, 55 insertions(+), 19 deletions(-)
diff --git a/src/mainboard/asus/kgpe-d16/dsdt.asl b/src/mainboard/asus/kgpe-d16/dsdt.asl
index b6f10d9..bbe445f 100644
--- a/src/mainboard/asus/kgpe-d16/dsdt.asl
+++ b/src/mainboard/asus/kgpe-d16/dsdt.asl
@@ -296,13 +296,29 @@ DefinitionBlock (
Name (PR03, Package () {
/* PIC */
+ Package (0x04) { 0xFFFF, 0x00, LNKE, 0x00 },
+ Package (0x04) { 0xFFFF, 0x01, LNKF, 0x00 },
+ Package (0x04) { 0xFFFF, 0x02, LNKG, 0x00 },
+ Package (0x04) { 0xFFFF, 0x03, LNKH, 0x00 },
+ })
+
+ Name (AR03, Package () {
+ /* APIC */
+ Package (0x04) { 0xFFFF, 0x00, 0x00, 44 },
+ Package (0x04) { 0xFFFF, 0x01, 0x00, 45 },
+ Package (0x04) { 0xFFFF, 0x02, 0x00, 46 },
+ Package (0x04) { 0xFFFF, 0x03, 0x00, 47 },
+ })
+
+ Name (PR04, Package () {
+ /* PIC */
Package (0x04) { 0xFFFF, 0x00, LNKA, 0x00 },
Package (0x04) { 0xFFFF, 0x01, LNKB, 0x00 },
Package (0x04) { 0xFFFF, 0x02, LNKC, 0x00 },
Package (0x04) { 0xFFFF, 0x03, LNKD, 0x00 },
})
- Name (AR03, Package () {
+ Name (AR04, Package () {
/* APIC */
Package (0x04) { 0xFFFF, 0x00, 0x00, 48 },
Package (0x04) { 0xFFFF, 0x01, 0x00, 49 },
@@ -310,7 +326,7 @@ DefinitionBlock (
Package (0x04) { 0xFFFF, 0x03, 0x00, 51 },
})
- Name (PR04, Package () {
+ Name (PR05, Package () {
/* PIC */
Package (0x04) { 0xFFFF, 0x00, LNKH, 0x00 },
Package (0x04) { 0xFFFF, 0x01, LNKE, 0x00 },
@@ -318,7 +334,7 @@ DefinitionBlock (
Package (0x04) { 0xFFFF, 0x03, LNKG, 0x00 },
})
- Name (AR04, Package () {
+ Name (AR05, Package () {
/* APIC */
Package (0x04) { 0xFFFF, 0x00, 0x00, 47 },
Package (0x04) { 0xFFFF, 0x01, 0x00, 44 },
@@ -326,7 +342,7 @@ DefinitionBlock (
Package (0x04) { 0xFFFF, 0x03, 0x00, 46 },
})
- Name (PR05, Package () {
+ Name (PR06, Package () {
/* PIC */
Package (0x04) { 0xFFFF, 0x00, LNKA, 0x00 },
Package (0x04) { 0xFFFF, 0x01, LNKB, 0x00 },
@@ -334,7 +350,7 @@ DefinitionBlock (
Package (0x04) { 0xFFFF, 0x03, LNKD, 0x00 },
})
- Name (AR05, Package () {
+ Name (AR06, Package () {
/* APIC */
Package (0x04) { 0xFFFF, 0x00, 0x00, 32 },
Package (0x04) { 0xFFFF, 0x01, 0x00, 33 },
@@ -342,7 +358,7 @@ DefinitionBlock (
Package (0x04) { 0xFFFF, 0x03, 0x00, 35 },
})
- Name (PR06, Package () {
+ Name (PR07, Package () {
/* PIC */
Package (0x04) { 0xFFFF, 0x00, LNKE, 0x00 },
Package (0x04) { 0xFFFF, 0x01, LNKF, 0x00 },
@@ -350,7 +366,7 @@ DefinitionBlock (
Package (0x04) { 0xFFFF, 0x03, LNKH, 0x00 },
})
- Name (AR06, Package () {
+ Name (AR07, Package () {
/* APIC */
Package (0x04) { 0xFFFF, 0x00, 0x00, 36 },
Package (0x04) { 0xFFFF, 0x01, 0x00, 37 },
@@ -358,7 +374,7 @@ DefinitionBlock (
Package (0x04) { 0xFFFF, 0x03, 0x00, 39 },
})
- Name (PR07, Package () {
+ Name (PR08, Package () {
/* PIC */
Package (0x04) { 0xFFFF, 0x00, LNKA, 0x00 },
Package (0x04) { 0xFFFF, 0x01, LNKB, 0x00 },
@@ -366,7 +382,7 @@ DefinitionBlock (
Package (0x04) { 0xFFFF, 0x03, LNKD, 0x00 },
})
- Name (AR07, Package () {
+ Name (AR08, Package () {
/* APIC */
Package (0x04) { 0xFFFF, 0x00, 0x00, 40 },
Package (0x04) { 0xFFFF, 0x01, 0x00, 41 },
@@ -617,6 +633,26 @@ DefinitionBlock (
}
}
+ /* 1:00.0 PIKE */
+ Device (PIKE)
+ {
+ Name (_ADR, 0x00040000) // _ADR: Address
+ Name(_PRW, Package () {0x11, 0x04}) // Wake from S1-S4
+ Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
+ {
+ If (PICM) {
+ Return (AR03)
+ } Else {
+ Return (PR03)
+ }
+ }
+ Device (SLT1)
+ {
+ Name (_ADR, 0xFFFF) // _ADR: Address
+ Name(_PRW, Package () {0x0B, 0x04}) // Wake from S1-S4
+ }
+ }
+
/* 3:00.0 PCIe NIC A */
Device (NICA)
{
@@ -625,9 +661,9 @@ DefinitionBlock (
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM) {
- Return (AR03)
+ Return (AR04)
} Else {
- Return (PR03)
+ Return (PR04)
}
}
Device (BDC1)
@@ -644,9 +680,9 @@ DefinitionBlock (
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM) {
- Return (AR04)
+ Return (AR05)
} Else {
- Return (PR04)
+ Return (PR05)
}
}
Device (BDC2)
@@ -663,9 +699,9 @@ DefinitionBlock (
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM) {
- Return (AR05)
+ Return (AR06)
} Else {
- Return (PR05)
+ Return (PR06)
}
}
Device (SLT1)
@@ -683,9 +719,9 @@ DefinitionBlock (
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM) {
- Return (AR06)
+ Return (AR07)
} Else {
- Return (PR06)
+ Return (PR07)
}
}
Device (SLT1)
@@ -703,9 +739,9 @@ DefinitionBlock (
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM) {
- Return (AR07)
+ Return (AR08)
} Else {
- Return (PR07)
+ Return (PR08)
}
}
Device (SLT1)
--
1.9.1
|