mainboard/*/*/irq_tables.c: Use tabs for indents
Change-Id: Idc29373cb01f4304d22ae315812bd40f0aaa94c9 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16729 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
57a3cd21f1
commit
f4df9d1156
|
@ -51,5 +51,5 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
};
|
};
|
||||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||||
{
|
{
|
||||||
return copy_pirq_routing_table(addr, &intel_irq_routing_table);
|
return copy_pirq_routing_table(addr, &intel_irq_routing_table);
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0, /* Checksum (has to be set to some value that
|
0, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x00, (0x1c << 3) | 0x0, {{0x60, 0x1ef8}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}}, 0, 0},
|
{0x00, (0x1c << 3) | 0x0, {{0x60, 0x1ef8}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}}, 0, 0},
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0xca, /* Checksum (has to be set to some value that
|
0xca, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x01, (0x05 << 3) | 0x0, {{0x03, 0xdc90}, {0x04, 0xdc90}, {0x01, 0xdc90}, {0x02, 0xdc90}}, 0x0, 0x0},
|
{0x01, (0x05 << 3) | 0x0, {{0x03, 0xdc90}, {0x04, 0xdc90}, {0x01, 0xdc90}, {0x02, 0xdc90}}, 0x0, 0x0},
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0x8, /* Checksum (has to be set to some value that
|
0x8, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x01, (0x05 << 3) | 0x0, {{0x03, 0xdc90}, {0x04, 0xdc90}, {0x01, 0xdc90}, {0x02, 0xdc90}}, 0x0, 0x0},
|
{0x01, (0x05 << 3) | 0x0, {{0x03, 0xdc90}, {0x04, 0xdc90}, {0x01, 0xdc90}, {0x02, 0xdc90}}, 0x0, 0x0},
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0x10, /* Checksum (has to be set to some value that
|
0x10, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x00, (0x0c << 3) | 0x0, {{0x60, 0x1eb8}, {0x61, 0x1eb8}, {0x62, 0x1eb8}, {0x63, 0x1eb8}}, 0x1, 0x0},
|
{0x00, (0x0c << 3) | 0x0, {{0x60, 0x1eb8}, {0x61, 0x1eb8}, {0x62, 0x1eb8}, {0x63, 0x1eb8}}, 0x1, 0x0},
|
||||||
|
|
|
@ -31,7 +31,7 @@ const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0xa6, /* Checksum (has to be set to some value that
|
0xa6, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x00, (0x00 << 3) | 0x0, {{0x01, 0xccb0}, {0x02, 0xccb0}, {0x03, 0xccb0}, {0x04, 0xdab8}}, 0x0, 0x0},
|
{0x00, (0x00 << 3) | 0x0, {{0x01, 0xccb0}, {0x02, 0xccb0}, {0x03, 0xccb0}, {0x04, 0xdab8}}, 0x0, 0x0},
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0x7, /* Checksum (has to be set to some value that
|
0x7, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x00, (0x1e << 3) | 0x0, {{0x60, 0xdeb8}, {0x61, 0xdeb8}, {0x62, 0xdeb8}, {0x63, 0xdeb8}}, 0x1, 0x0},
|
{0x00, (0x1e << 3) | 0x0, {{0x60, 0xdeb8}, {0x61, 0xdeb8}, {0x62, 0xdeb8}, {0x63, 0xdeb8}}, 0x1, 0x0},
|
||||||
|
|
|
@ -24,5 +24,5 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
};
|
};
|
||||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||||
{
|
{
|
||||||
return copy_pirq_routing_table(addr, &intel_irq_routing_table);
|
return copy_pirq_routing_table(addr, &intel_irq_routing_table);
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0xb4, /* Checksum (has to be set to some value that
|
0xb4, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x00, (0x08 << 3) | 0x0, {{0x60, 0xdeb8}, {0x61, 0xdeb8}, {0x62, 0xdeb8}, {0x63, 0xdeb8}}, 0x1, 0x0},
|
{0x00, (0x08 << 3) | 0x0, {{0x60, 0xdeb8}, {0x61, 0xdeb8}, {0x62, 0xdeb8}, {0x63, 0xdeb8}}, 0x1, 0x0},
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0xd9, /* Checksum (has to be set to some value that
|
0xd9, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x00, (0x00 << 3) | 0x0, {{0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}}, 0x0, 0x0},
|
{0x00, (0x00 << 3) | 0x0, {{0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}}, 0x0, 0x0},
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0x4b, /* Checksum (has to be set to some value that
|
0x4b, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x00, (0x01 << 3) | 0x0, {{0x60, 0xdcf8}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}}, 0x0, 0x0},
|
{0x00, (0x01 << 3) | 0x0, {{0x60, 0xdcf8}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}}, 0x0, 0x0},
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0x39, /* Checksum (has to be set to some value that
|
0x39, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x01, (0x0f << 3) | 0x0, {{0x62, 0xdeb8}, {0x63, 0xdeb8}, {0x60, 0xdeb8}, {0x61, 0xdeb8}}, 0x1, 0x0},
|
{0x01, (0x0f << 3) | 0x0, {{0x62, 0xdeb8}, {0x63, 0xdeb8}, {0x60, 0xdeb8}, {0x61, 0xdeb8}}, 0x1, 0x0},
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0xf5, /* Checksum (has to be set to some value that
|
0xf5, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x00, (0x02 << 3) | 0x0, {{0x00, 0xdef8}, {0x61, 0x1cf8}, {0x00, 0xdef8}, {0x00, 0xdef8}}, 0x0, 0x0}, /* VGA 0:02.0 */
|
{0x00, (0x02 << 3) | 0x0, {{0x00, 0xdef8}, {0x61, 0x1cf8}, {0x00, 0xdef8}, {0x00, 0xdef8}}, 0x0, 0x0}, /* VGA 0:02.0 */
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
* 00:0f.4 USB Controller [0c03]: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC [1022:2094] (rev 02)
|
* 00:0f.4 USB Controller [0c03]: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC [1022:2094] (rev 02)
|
||||||
* 00:0f.5 USB Controller [0c03]: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC [1022:2095] (rev 02)
|
* 00:0f.5 USB Controller [0c03]: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC [1022:2095] (rev 02)
|
||||||
|
|
||||||
* The only devices that interrupt are:
|
* The only devices that interrupt are:
|
||||||
*
|
*
|
||||||
* What Device IRQ PIN PIN WIRED TO
|
* What Device IRQ PIN PIN WIRED TO
|
||||||
* -------------------------------------------------
|
* -------------------------------------------------
|
||||||
|
|
|
@ -30,7 +30,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0, /* Checksum (has to be set to some value that
|
0, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x00, (0x1c << 3) | 0x0, {{0x60, 0x1ef8}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}}, 0, 0},
|
{0x00, (0x1c << 3) | 0x0, {{0x60, 0x1ef8}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}}, 0, 0},
|
||||||
|
|
|
@ -48,7 +48,7 @@ static const struct irq_routing_table intel_irq_routing_table = {
|
||||||
0xdc, /* Checksum (has to be set to some value that
|
0xdc, /* Checksum (has to be set to some value that
|
||||||
* would give 0 after the sum of all bytes
|
* would give 0 after the sum of all bytes
|
||||||
* for this structure (including checksum).
|
* for this structure (including checksum).
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
|
||||||
{0x00, (0x0f << 3) | 0x0, {{0x01, 0x0800}, {0x02, 0x0020}, {0x03, 0x0400}, {0x04, 0x0400}}, 0x5, 0x0},
|
{0x00, (0x0f << 3) | 0x0, {{0x01, 0x0800}, {0x02, 0x0020}, {0x03, 0x0400}, {0x04, 0x0400}}, 0x5, 0x0},
|
||||||
|
|
Loading…
Reference in New Issue