mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
add irq table for SiS 630S demo board
This commit is contained in:
parent
ce35c2f7b1
commit
714d9a2049
1 changed files with 36 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
||||||
#include <subr.h>
|
#include <subr.h>
|
||||||
|
|
||||||
|
#ifndef SIS630S
|
||||||
#define CHECKSUM 0xe6
|
#define CHECKSUM 0xe6
|
||||||
const struct irq_routing_table intel_irq_routing_table = {
|
const struct irq_routing_table intel_irq_routing_table = {
|
||||||
PIRQ_SIGNATURE, /* u32 signature */
|
PIRQ_SIGNATURE, /* u32 signature */
|
||||||
|
@ -26,3 +28,37 @@ const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0x00, 0x00},
|
0x00, 0x00},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#else /* SIS630S */
|
||||||
|
#define CHECKSUM 0x21
|
||||||
|
const struct irq_routing_table intel_irq_routing_table = {
|
||||||
|
PIRQ_SIGNATURE, /* u32 signature */
|
||||||
|
PIRQ_VERSION, /* u16 version */
|
||||||
|
32+16*7, /* there can be total 5 devices on the bus */
|
||||||
|
0x00, /* Bus 0 */
|
||||||
|
0x08, /* Device 1, Function 0 */
|
||||||
|
0x1c20, /* reserve IRQ 12, 11, 9, 5, for PCI */
|
||||||
|
0x1039, /* Silicon Integrated System */
|
||||||
|
0x0008, /* SiS 85C503/5513 ISA Bridge */
|
||||||
|
0x00, /* u8 miniport_data - "crap" */
|
||||||
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */
|
||||||
|
CHECKSUM, /* u8 checksum - mod 256 checksum must give zero */
|
||||||
|
{
|
||||||
|
/* bus, devfn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
|
{0x00, 0x48, {{0x42, 0xdef8}, {0x43, 0xdef8}, {0x44, 0xdef8}, {0x41, 0xdef8}},
|
||||||
|
0x01, 0x00},
|
||||||
|
{0x00, 0x58, {{0x43, 0xdef8}, {0x44, 0xdef8}, {0x41, 0xdef8}, {0x42, 0xdef8}},
|
||||||
|
0x02, 0x00},
|
||||||
|
{0x00, 0x68, {{0x44, 0xdef8}, {0x41, 0xdef8}, {0x42, 0xdef8}, {0x43, 0xdef8}},
|
||||||
|
0x03, 0x00},
|
||||||
|
{0x00, 0x78, {{0x41, 0xdef8}, {0x42, 0xdef8}, {0x43, 0xdef8}, {0x44, 0xdef8}},
|
||||||
|
0x04, 0x00},
|
||||||
|
{0x00, 0x01, {{0x61, 0xdef8}, {0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0xdef8}},
|
||||||
|
0x00, 0x00},
|
||||||
|
{0x00, 0x10, {{0x41, 0xdef8}, {0x42, 0xdef8}, {0x43, 0xdef8}, {0x44, 0xdef8}},
|
||||||
|
0x00, 0x00},
|
||||||
|
{0x00, 0x0a, {{0x41, 0xdef8}, {0x42, 0xdef8}, {0x43, 0xdef8}, {0x44, 0xdef8}},
|
||||||
|
0x00, 0x00},
|
||||||
|
}
|
||||||
|
};
|
||||||
|
#endif /* SIS630S */
|
||||||
|
|
Loading…
Add table
Reference in a new issue