treewide: Move "is part of the coreboot project" line in its own comment
[coreboot.git] / src / mainboard / asus / p2b / variants / p2b-f / irq_tables.c
blobeab90868f516fc9d6f88229dac0ba6d5d8af6051
1 /* This file is part of the coreboot project. */
2 /*
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #include <arch/pirq_routing.h>
17 static const struct irq_routing_table intel_irq_routing_table = {
18 PIRQ_SIGNATURE,
19 PIRQ_VERSION,
20 32 + 16 * CONFIG_IRQ_SLOT_COUNT,/* Max. number of devices on the bus */
21 0x00, /* Interrupt router bus */
22 (0x04 << 3) | 0x0, /* Interrupt router device */
23 0, /* IRQs devoted exclusively to PCI usage */
24 0x8086, /* Vendor */
25 0x122e, /* Device */
26 0, /* Miniport data */
27 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */
28 0xf9, /* Checksum */
30 /* bus, dev|fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
31 {0x00,(0x0c << 3)|0x0, {{0x60, 0x1eb8}, {0x61, 0x1eb8}, {0x62, 0x1eb8}, {0x63, 0x01eb8}}, 0x1, 0x0},
32 {0x00,(0x0b << 3)|0x0, {{0x61, 0x1eb8}, {0x62, 0x1eb8}, {0x63, 0x1eb8}, {0x60, 0x01eb8}}, 0x2, 0x0},
33 {0x00,(0x0a << 3)|0x0, {{0x62, 0x1eb8}, {0x63, 0x1eb8}, {0x60, 0x1eb8}, {0x61, 0x01eb8}}, 0x3, 0x0},
34 {0x00,(0x09 << 3)|0x0, {{0x63, 0x1eb8}, {0x60, 0x1eb8}, {0x61, 0x1eb8}, {0x62, 0x01eb8}}, 0x4, 0x0},
35 {0x00,(0x0d << 3)|0x0, {{0x63, 0x1eb8}, {0x60, 0x1eb8}, {0x61, 0x1eb8}, {0x62, 0x01eb8}}, 0x5, 0x0},
36 {0x00,(0x04 << 3)|0x0, {{0x60, 0x1eb8}, {0x61, 0x1eb8}, {0x62, 0x1eb8}, {0x63, 0x01eb8}}, 0x0, 0x0},
37 {0x00,(0x01 << 3)|0x0, {{0x60, 0x1eb8}, {0x61, 0x1eb8}, {0x62, 0x1eb8}, {0x63, 0x01eb8}}, 0x0, 0x0},
41 unsigned long write_pirq_routing_table(unsigned long addr)
43 return copy_pirq_routing_table(addr, &intel_irq_routing_table);