blob: d93ceb1fa5b9ea9a94a6d473d9a418790cd203f8 [file] [log] [blame]
Damien Zammit43a1f782015-08-19 15:16:59 +10001/*
2 * This file is part of the coreboot project.
3 *
Damien Zammit43a1f782015-08-19 15:16:59 +10004 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; version 2 of
8 * the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16Device (PEGP)
17{
18 Name (_ADR, 0x00010000)
19
20 // PCI Interrupt Routing.
21 Method (_PRT)
22 {
23 If (PICM) {
24 Return (Package() {
Damien Zammit614ffc62016-09-07 12:43:44 +100025 Package() { 0x0000ffff, 0, 0, 16 },
26 Package() { 0x0000ffff, 1, 0, 17 },
27 Package() { 0x0000ffff, 2, 0, 18 },
28 Package() { 0x0000ffff, 3, 0, 19 },
Damien Zammit43a1f782015-08-19 15:16:59 +100029 })
30 } Else {
31 Return (Package() {
Damien Zammit614ffc62016-09-07 12:43:44 +100032 Package() { 0x0000ffff, 0, \_SB.PCI0.LPCB.LNKA, 0 },
33 Package() { 0x0000ffff, 1, \_SB.PCI0.LPCB.LNKB, 0 },
34 Package() { 0x0000ffff, 2, \_SB.PCI0.LPCB.LNKC, 0 },
35 Package() { 0x0000ffff, 3, \_SB.PCI0.LPCB.LNKD, 0 },
Damien Zammit43a1f782015-08-19 15:16:59 +100036 })
37 }
38
39 }
40}