Stefan Reinauer | cc46e73 | 2009-03-13 00:44:09 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2007-2009 coresystems GmbH |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; version 2 of |
| 9 | * the License. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
| 19 | * MA 02110-1301 USA |
| 20 | */ |
| 21 | |
| 22 | Device (PEGP) |
| 23 | { |
| 24 | Name (_ADR, 0x00010000) |
| 25 | |
| 26 | // PCI Interrupt Routing. |
| 27 | Method (_PRT) |
| 28 | { |
| 29 | If (PICM) { |
| 30 | Return (Package() { |
| 31 | Package() { 0x0000ffff, 0, 0, 16 }, |
| 32 | Package() { 0x0000ffff, 1, 0, 17 }, |
| 33 | Package() { 0x0000ffff, 2, 0, 18 }, |
| 34 | Package() { 0x0000ffff, 3, 0, 19 } |
| 35 | }) |
| 36 | } Else { |
| 37 | Return (Package() { |
| 38 | Package() { 0x0000ffff, 0, \_SB.PCI0.LPCB.LNKA, 0 }, |
| 39 | Package() { 0x0000ffff, 1, \_SB.PCI0.LPCB.LNKB, 0 }, |
| 40 | Package() { 0x0000ffff, 2, \_SB.PCI0.LPCB.LNKC, 0 }, |
| 41 | Package() { 0x0000ffff, 3, \_SB.PCI0.LPCB.LNKD, 0 } |
| 42 | }) |
| 43 | } |
| 44 | |
| 45 | } |
| 46 | } |
| 47 | |