Cut the crap.
[coreboot.git] / src / mainboard / asus / mew-vm / irq_tables.c
index 57943441372c69a3e6cd6cb1879e00a4a2249133..212765b3df1cd166d9b136a165de2799a87d1090 100644 (file)
@@ -1,4 +1,4 @@
-/* This file was generated by getpir.c, do not modify! 
+/* This file was generated by getpir.c, do not modify!
  * (but if you do, please run checkpir on it to verify)
  * Contains the IRQ Routing Table dumped directly from your memory, which BIOS sets up
  *
 const struct irq_routing_table intel_irq_routing_table = {
        PIRQ_SIGNATURE,  /* u32 signature */
        PIRQ_VERSION,    /* u16 version   */
-       32+16*11,        /* there can be total 11 devices on the bus */
+       32+16*CONFIG_IRQ_SLOT_COUNT,     /* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */
        0x00,            /* Where the interrupt router lies (bus) */
        (0x11<<3)|0x0,   /* Where the interrupt router lies (dev) */
        0xe20,           /* IRQs devoted exclusively to PCI usage */
        0x8086,          /* Vendor */
        0x7120,          /* Device */
-       0,               /* Crap (miniport) */
+       0,               /* Miniport data */
        { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */
-       0x89,            /*  u8 checksum , this has to set to some value 
+       0x89,            /*  u8 checksum , this has to set to some value
 that would give 0 after the sum of all bytes for this structure (including checksum) */
        {
                /* bus,     dev|fn,   {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap},  slot, rfu */
@@ -38,5 +38,5 @@ that would give 0 after the sum of all bytes for this structure (including check
 
 unsigned long write_pirq_routing_table(unsigned long addr)
 {
-        return copy_pirq_routing_table(addr);
+       return copy_pirq_routing_table(addr);
 }