Angel Pons | c3f58f6 | 2020-04-05 15:46:41 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Aaron Durbin | 3bde3d7 | 2013-11-04 21:45:52 -0600 | [diff] [blame] | 2 | |
Angel Pons | 26b49cc | 2020-07-07 17:17:51 +0200 | [diff] [blame] | 3 | /* PCI Interrupt Routing */ |
Aaron Durbin | 3bde3d7 | 2013-11-04 21:45:52 -0600 | [diff] [blame] | 4 | Method(_PRT) |
| 5 | { |
| 6 | If (PICM) { |
| 7 | Return (Package() { |
| 8 | #undef PIC_MODE |
| 9 | #include <soc/intel/baytrail/acpi/irq_helper.h> |
| 10 | PCI_DEV_PIRQ_ROUTES |
| 11 | }) |
| 12 | } Else { |
| 13 | Return (Package() { |
| 14 | #define PIC_MODE |
| 15 | #include <soc/intel/baytrail/acpi/irq_helper.h> |
| 16 | PCI_DEV_PIRQ_ROUTES |
| 17 | }) |
| 18 | } |
| 19 | } |