blob: 6b9d47dd1ee38f546aa129a941aa4973641d106b [file] [log] [blame]
Stefan Reinauercc46e732009-03-13 00:44:09 +00001/*
2 * This file is part of the coreboot project.
3 *
Stefan Reinauercc46e732009-03-13 00:44:09 +00004 *
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.
Stefan Reinauercc46e732009-03-13 00:44:09 +000014 */
15
16Device (PEGP)
17{
18 Name (_ADR, 0x00010000)
19
20 // PCI Interrupt Routing.
21 Method (_PRT)
22 {
23 If (PICM) {
24 Return (Package() {
25 Package() { 0x0000ffff, 0, 0, 16 },
26 Package() { 0x0000ffff, 1, 0, 17 },
27 Package() { 0x0000ffff, 2, 0, 18 },
28 Package() { 0x0000ffff, 3, 0, 19 }
29 })
30 } Else {
31 Return (Package() {
32 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 }
36 })
37 }
38
39 }
40}