Damien Zammit | 43a1f78 | 2015-08-19 15:16:59 +1000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
Damien Zammit | 43a1f78 | 2015-08-19 15:16:59 +1000 | [diff] [blame] | 4 | * |
| 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 | |
| 16 | Device (PEGP) |
| 17 | { |
| 18 | Name (_ADR, 0x00010000) |
| 19 | |
| 20 | // PCI Interrupt Routing. |
| 21 | Method (_PRT) |
| 22 | { |
| 23 | If (PICM) { |
| 24 | Return (Package() { |
Damien Zammit | 614ffc6 | 2016-09-07 12:43:44 +1000 | [diff] [blame] | 25 | Package() { 0x0000ffff, 0, 0, 16 }, |
| 26 | Package() { 0x0000ffff, 1, 0, 17 }, |
| 27 | Package() { 0x0000ffff, 2, 0, 18 }, |
| 28 | Package() { 0x0000ffff, 3, 0, 19 }, |
Damien Zammit | 43a1f78 | 2015-08-19 15:16:59 +1000 | [diff] [blame] | 29 | }) |
| 30 | } Else { |
| 31 | Return (Package() { |
Damien Zammit | 614ffc6 | 2016-09-07 12:43:44 +1000 | [diff] [blame] | 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 }, |
Damien Zammit | 43a1f78 | 2015-08-19 15:16:59 +1000 | [diff] [blame] | 36 | }) |
| 37 | } |
| 38 | |
| 39 | } |
| 40 | } |