Author: uwe Date: 2009-10-07 23:51:33 +0200 (Wed, 07 Oct 2009) New Revision: 4739
Modified: trunk/coreboot-v2/src/mainboard/a-trend/atc-6220/Options.lb trunk/coreboot-v2/src/mainboard/a-trend/atc-6240/Options.lb trunk/coreboot-v2/src/mainboard/abit/be6-ii_v2_0/Options.lb trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Options.lb trunk/coreboot-v2/src/mainboard/amd/db800/irq_tables.c trunk/coreboot-v2/src/mainboard/amd/norwich/irq_tables.c trunk/coreboot-v2/src/mainboard/amd/rumba/irq_tables.c trunk/coreboot-v2/src/mainboard/artecgroup/dbe61/irq_tables.c trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Options.lb trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Options.lb trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/irq_tables.c trunk/coreboot-v2/src/mainboard/asus/a8v-e_se/Options.lb trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Options.lb trunk/coreboot-v2/src/mainboard/asus/mew-am/Options.lb trunk/coreboot-v2/src/mainboard/asus/mew-vm/irq_tables.c trunk/coreboot-v2/src/mainboard/asus/p2b-d/Options.lb trunk/coreboot-v2/src/mainboard/asus/p2b-ds/Options.lb trunk/coreboot-v2/src/mainboard/asus/p2b-f/Options.lb trunk/coreboot-v2/src/mainboard/asus/p2b/Options.lb trunk/coreboot-v2/src/mainboard/asus/p3b-f/Options.lb trunk/coreboot-v2/src/mainboard/azza/pt-6ibd/Options.lb trunk/coreboot-v2/src/mainboard/biostar/m6tba/Options.lb trunk/coreboot-v2/src/mainboard/compaq/deskpro_en_sff_p600/Options.lb trunk/coreboot-v2/src/mainboard/dell/s1850/irq_tables.c trunk/coreboot-v2/src/mainboard/digitallogic/adl855pc/irq_tables.c trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/Options.lb trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/irq_tables.c trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/Options.lb trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/irq_tables.c trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/irq_tables.c trunk/coreboot-v2/src/mainboard/emulation/qemu-x86/irq_tables.c trunk/coreboot-v2/src/mainboard/gigabyte/ga-6bxc/Options.lb trunk/coreboot-v2/src/mainboard/hp/dl145_g3/irq_tables.c trunk/coreboot-v2/src/mainboard/ibm/e325/Options.lb trunk/coreboot-v2/src/mainboard/ibm/e325/irq_tables.c trunk/coreboot-v2/src/mainboard/ibm/e326/Options.lb trunk/coreboot-v2/src/mainboard/ibm/e326/irq_tables.c trunk/coreboot-v2/src/mainboard/iei/juki-511p/irq_tables.c trunk/coreboot-v2/src/mainboard/iei/pcisa-lx-800-r10/irq_tables.c trunk/coreboot-v2/src/mainboard/intel/eagleheights/Options.lb trunk/coreboot-v2/src/mainboard/intel/eagleheights/irq_tables.c trunk/coreboot-v2/src/mainboard/intel/jarrell/Options.lb trunk/coreboot-v2/src/mainboard/intel/jarrell/irq_tables.c trunk/coreboot-v2/src/mainboard/intel/xe7501devkit/irq_tables.c trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Options.lb trunk/coreboot-v2/src/mainboard/iwill/dk8s2/irq_tables.c trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/irq_tables.c trunk/coreboot-v2/src/mainboard/lippert/frontrunner/irq_tables.c trunk/coreboot-v2/src/mainboard/lippert/roadrunner-lx/irq_tables.c trunk/coreboot-v2/src/mainboard/lippert/spacerunner-lx/irq_tables.c trunk/coreboot-v2/src/mainboard/msi/ms6119/Options.lb trunk/coreboot-v2/src/mainboard/msi/ms6147/Options.lb trunk/coreboot-v2/src/mainboard/msi/ms6178/Options.lb trunk/coreboot-v2/src/mainboard/nec/powermate2000/Options.lb trunk/coreboot-v2/src/mainboard/newisys/khepri/Options.lb trunk/coreboot-v2/src/mainboard/newisys/khepri/irq_tables.c trunk/coreboot-v2/src/mainboard/olpc/btest/irq_tables.c trunk/coreboot-v2/src/mainboard/olpc/rev_a/irq_tables.c trunk/coreboot-v2/src/mainboard/rca/rm4100/irq_tables.c trunk/coreboot-v2/src/mainboard/soyo/sy-6ba-plus-iii/Options.lb trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/Options.lb trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/irq_tables.c trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/Options.lb trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/irq_tables.c trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/Options.lb trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/irq_tables.c trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/Options.lb trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/irq_tables.c trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/Options.lb trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/irq_tables.c trunk/coreboot-v2/src/mainboard/technologic/ts5300/Options.lb trunk/coreboot-v2/src/mainboard/technologic/ts5300/irq_tables.c trunk/coreboot-v2/src/mainboard/thomson/ip1000/irq_tables.c trunk/coreboot-v2/src/mainboard/tyan/s1846/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s2735/irq_tables.c trunk/coreboot-v2/src/mainboard/tyan/s2850/irq_tables.c trunk/coreboot-v2/src/mainboard/tyan/s2875/irq_tables.c trunk/coreboot-v2/src/mainboard/tyan/s2880/irq_tables.c trunk/coreboot-v2/src/mainboard/tyan/s2882/irq_tables.c trunk/coreboot-v2/src/mainboard/tyan/s4880/irq_tables.c trunk/coreboot-v2/src/mainboard/tyan/s4882/irq_tables.c trunk/coreboot-v2/src/mainboard/via/epia-m/irq_tables.c trunk/coreboot-v2/src/mainboard/via/epia-n/irq_tables.c trunk/coreboot-v2/src/mainboard/via/epia/irq_tables.c trunk/coreboot-v2/src/mainboard/via/vt8454c/irq_tables.c trunk/coreboot-v2/targets/tyan/s1846/Config.lb Log: Major CONFIG_IRQ_TABLE_COUNT fixing and cleanups. Some of these boards and PIRQ tables were actually wrong, I cannot imagine they ever worked properly.
- Use CONFIG_IRQ_TABLE_COUNT in all irq_tables.c files instead of hard-coded numbers.
- Make all CONFIG_IRQ_TABLE_COUNT values in irq_tables.c match Options.lb.
- Make all CONFIG_IRQ_TABLE_COUNT values match the actual number of entries in the irq_tables.c file.
- Set all CONFIG_IRQ_SLOT_COUNT values in src/.../Options.lb for those boards where they were set to 0 (in order to be overridden in the respective targets/.../Config.lb).
This is mainly done to aid Patrick's scripts for kconfig conversion.
- Fix a number of comments in irq_tables.c files.
- Drop CONFIG_IRQ_SLOT_COUNT usage from boards that don't have irq_tables.c: - tyan/s1846 - asus/a8v-e_se - asus/m2v-mx_se
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de Acked-by: Myles Watson mylesgw@gmail.com
Modified: trunk/coreboot-v2/src/mainboard/a-trend/atc-6220/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/a-trend/atc-6220/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/a-trend/atc-6220/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 7 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/a-trend/atc-6240/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/a-trend/atc-6240/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/a-trend/atc-6240/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 7 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/abit/be6-ii_v2_0/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/abit/be6-ii_v2_0/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/abit/be6-ii_v2_0/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -71,7 +71,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 9 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -73,7 +73,7 @@
default CONFIG_ROM_SIZE = 256 * 1024 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 2 # Override this in targets/*/Config.lb. default CONFIG_PIRQ_ROUTE = 1 default CONFIG_HAVE_FALLBACK_BOOT = 1 default CONFIG_HAVE_MP_TABLE = 0
Modified: trunk/coreboot-v2/src/mainboard/amd/db800/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/amd/db800/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/amd/db800/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -44,7 +44,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* there can be total 6 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) */ (0x0F << 3) | 0x0, /* Where the interrupt router lies (dev) */ 0x00, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/amd/norwich/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/amd/norwich/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/amd/norwich/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -44,7 +44,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* there can be total 6 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) */ (0x0F << 3) | 0x0, /* Where the interrupt router lies (dev) */ 0x00, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/amd/rumba/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/amd/rumba/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/amd/rumba/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*2, /* there can be total 2 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) */ (0x12<<3)|0x0, /* Where the interrupt router lies (dev) */ 0x800, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/artecgroup/dbe61/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/artecgroup/dbe61/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/artecgroup/dbe61/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -44,7 +44,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* there can be total 6 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) */ (0x0F << 3) | 0x0, /* Where the interrupt router lies (dev) */ 0x00, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -73,7 +73,7 @@
default CONFIG_ROM_SIZE = 256 * 1024 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 3 # Override this in targets/*/Config.lb. default CONFIG_PIRQ_ROUTE = 1 default CONFIG_HAVE_FALLBACK_BOOT = 1 default CONFIG_HAVE_MP_TABLE = 0
Modified: trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -68,7 +68,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=5 # TODO? +default CONFIG_IRQ_SLOT_COUNT=5 default CONFIG_PIRQ_ROUTE=1
##
Modified: trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*5, /* there can be total 5 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) */ (0x12<<3)|0x0, /* Where the interrupt router lies (dev) */ 0xe00, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/asus/a8v-e_se/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asus/a8v-e_se/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asus/a8v-e_se/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -22,7 +22,6 @@ uses CONFIG_USE_FALLBACK_IMAGE uses CONFIG_HAVE_FALLBACK_BOOT uses CONFIG_HAVE_HARD_RESET -uses CONFIG_IRQ_SLOT_COUNT uses CONFIG_HAVE_OPTION_TABLE uses CONFIG_MAX_CPUS uses CONFIG_MAX_PHYSICAL_CPUS @@ -96,7 +95,6 @@ default CONFIG_HAVE_FALLBACK_BOOT = 1 default CONFIG_HAVE_HARD_RESET = 0 default CONFIG_HAVE_PIRQ_TABLE = 0 -default CONFIG_IRQ_SLOT_COUNT = 11 # FIXME? default CONFIG_HAVE_MP_TABLE = 1 default CONFIG_HAVE_OPTION_TABLE = 0 # FIXME # Move the default coreboot CMOS range off of AMD RTC registers.
Modified: trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -22,7 +22,6 @@ uses CONFIG_USE_FALLBACK_IMAGE uses CONFIG_HAVE_FALLBACK_BOOT uses CONFIG_HAVE_HARD_RESET -uses CONFIG_IRQ_SLOT_COUNT uses CONFIG_HAVE_OPTION_TABLE uses CONFIG_MAX_CPUS uses CONFIG_MAX_PHYSICAL_CPUS @@ -97,7 +96,6 @@ default CONFIG_HAVE_FALLBACK_BOOT = 1 default CONFIG_HAVE_HARD_RESET = 1 default CONFIG_HAVE_PIRQ_TABLE = 0 -default CONFIG_IRQ_SLOT_COUNT = 11 # FIXME? default CONFIG_HAVE_MP_TABLE = 0 default CONFIG_HAVE_OPTION_TABLE = 1 # FIXME # Move the default coreboot CMOS range off of AMD RTC registers.
Modified: trunk/coreboot-v2/src/mainboard/asus/mew-am/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asus/mew-am/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asus/mew-am/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 8 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 64 * 1024
Modified: trunk/coreboot-v2/src/mainboard/asus/mew-vm/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/asus/mew-vm/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asus/mew-vm/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ 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 */
Modified: trunk/coreboot-v2/src/mainboard/asus/p2b/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asus/p2b/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asus/p2b/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -71,7 +71,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 6 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/asus/p2b-d/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asus/p2b-d/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asus/p2b-d/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -74,7 +74,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 6 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/asus/p2b-ds/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asus/p2b-ds/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asus/p2b-ds/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -74,7 +74,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 7 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/asus/p2b-f/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asus/p2b-f/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asus/p2b-f/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 7 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/asus/p3b-f/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asus/p3b-f/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/asus/p3b-f/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 8 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/azza/pt-6ibd/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/azza/pt-6ibd/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/azza/pt-6ibd/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 7 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/biostar/m6tba/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/biostar/m6tba/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/biostar/m6tba/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 7 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/compaq/deskpro_en_sff_p600/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/compaq/deskpro_en_sff_p600/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/compaq/deskpro_en_sff_p600/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 5 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/dell/s1850/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/dell/s1850/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/dell/s1850/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -24,7 +24,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, PIRQ_VERSION, - 32 + 16 * 9,/* Max. number of devices on the bus */ + 32 + 16 * CONFIG_IRQ_SLOT_COUNT,/* Max. number of devices on the bus */ 0x00, /* Interrupt router bus */ (0x11 << 3) | 0x0, /* Interrupt router device */ 0xc20, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/digitallogic/adl855pc/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/digitallogic/adl855pc/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/digitallogic/adl855pc/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*5, /* there can be total 5 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */ 0, /* Where the interrupt router lies (bus) */ 0x88, /* Where the interrupt router lies (dev) */ 0x1c20, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -76,7 +76,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=7 +default CONFIG_IRQ_SLOT_COUNT=2 #object irq_tables.o
##
Modified: trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*7, /* there can be total 7 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) */ (0x00<<3)|0x0, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -83,7 +83,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=6 +default CONFIG_IRQ_SLOT_COUNT=9 default CONFIG_PIRQ_ROUTE=1 #object irq_tables.o
Modified: trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -44,7 +44,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*9, /* There can be total 9 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) */ (0x0f<<3)|0x0, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total 2 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) */ (0x12<<3)|0x0, /* Where the interrupt router lies (dev) */ 0x800, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/emulation/qemu-x86/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/emulation/qemu-x86/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/emulation/qemu-x86/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*6, /* there can be total 6 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) */ (0x01<<3)|0x0, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/gigabyte/ga-6bxc/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/gigabyte/ga-6bxc/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/gigabyte/ga-6bxc/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 6 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/hp/dl145_g3/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/hp/dl145_g3/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/hp/dl145_g3/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -16,7 +16,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*15, /* There can be total 19 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* There can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */ 0x0, /* Where the interrupt router lies (bus) */ (0x2<<3)|0x4, 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/ibm/e325/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/ibm/e325/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/ibm/e325/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -78,7 +78,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=9 +default CONFIG_IRQ_SLOT_COUNT=12
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/ibm/e325/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/ibm/e325/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/ibm/e325/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -1,7 +1,6 @@ #include <arch/pirq_routing.h> #include <device/pci.h>
-#define CONFIG_IRQ_SLOT_COUNT 12 #define IRQ_ROUTER_BUS 0 #define IRQ_ROUTER_DEVFN PCI_DEVFN(4,3) #define IRQ_ROUTER_VENDOR 0x1022
Modified: trunk/coreboot-v2/src/mainboard/ibm/e326/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/ibm/e326/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/ibm/e326/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -80,7 +80,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=9 +default CONFIG_IRQ_SLOT_COUNT=12
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/ibm/e326/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/ibm/e326/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/ibm/e326/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -1,7 +1,6 @@ #include <arch/pirq_routing.h> #include <device/pci.h>
-#define CONFIG_IRQ_SLOT_COUNT 12 #define IRQ_ROUTER_BUS 0 #define IRQ_ROUTER_DEVFN PCI_DEVFN(4,3) #define IRQ_ROUTER_VENDOR 0x1022
Modified: trunk/coreboot-v2/src/mainboard/iei/juki-511p/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/iei/juki-511p/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/iei/juki-511p/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -28,7 +28,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*2, /* There can be a total of 2 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* There can be a total of CONFIG_IRQ_SLOT_COUNT devices on the bus */ 0x00, /* Where the interrupt router lies (bus) */ (0x12<<3)|0x0, /* Where the interrupt router lies (dev) */ 0xc00, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/iei/pcisa-lx-800-r10/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/iei/pcisa-lx-800-r10/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/iei/pcisa-lx-800-r10/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -47,7 +47,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32 + 16 * CONFIG_IRQ_SLOT_COUNT,/* there can be total 6 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) */ (0x0F << 3) | 0x0, /* Where the interrupt router lies (dev) */ EXCLUSIVE_PCI_IRQS, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/intel/eagleheights/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/intel/eagleheights/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/intel/eagleheights/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -154,7 +154,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=18 +default CONFIG_IRQ_SLOT_COUNT=9
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/intel/eagleheights/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/intel/eagleheights/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/intel/eagleheights/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -23,7 +23,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32 + 16 * 9, /* Max. number of devices on the bus */ + 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* Max. number of devices on the bus */ 0x00, /* Interrupt router bus */ (0x1f << 3) | 0x0, /* Interrupt router dev */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/intel/jarrell/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/intel/jarrell/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/intel/jarrell/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -94,7 +94,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=9 +default CONFIG_IRQ_SLOT_COUNT=18
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/intel/jarrell/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/intel/jarrell/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/intel/jarrell/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -5,7 +5,7 @@ const struct irq_routing_table intel_irq_routing_table = { 0x52495024, /* u32 signature */ 0x0100, /* u16 version */ - 320, /* u16 Table size 32+(16*devices) */ + 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* u16 Table size 32+(16*devices) */ 0x00, /* u8 Bus 0 */ 0xf8, /* u8 Device 1, Function 0 */ 0x0000, /* u16 reserve IRQ for PCI */
Modified: trunk/coreboot-v2/src/mainboard/intel/xe7501devkit/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/intel/xe7501devkit/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/intel/xe7501devkit/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -20,7 +20,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, PIRQ_VERSION, - 32 + 12*sizeof(struct irq_info), // Size of this struct in bytes + 32 + 16 * CONFIG_IRQ_SLOT_COUNT, // Size of this struct in bytes 0, // PCI bus number on which the interrupt router resides PCI_DEVFN(31, 0), // PCI device/function number of the interrupt router 0, // PCI-exclusive IRQ bitmap
Modified: trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -79,7 +79,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=9 +default CONFIG_IRQ_SLOT_COUNT=12
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/iwill/dk8s2/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/iwill/dk8s2/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/iwill/dk8s2/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*12, /* there can be total 12 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) */ (0x07<<3)|0x3, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -24,7 +24,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*18, /* There can be total 18 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) */ (0x1f<<3)|0x0, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/lippert/frontrunner/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/lippert/frontrunner/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/lippert/frontrunner/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*2, /* there can be total 2 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) */ (0x12<<3)|0x0, /* Where the interrupt router lies (dev) */ 0x800, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/lippert/roadrunner-lx/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/lippert/roadrunner-lx/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/lippert/roadrunner-lx/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -47,7 +47,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32 + 16 * CONFIG_IRQ_SLOT_COUNT,/* there can be total 7 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) */ (0x0F << 3) | 0x0, /* Where the interrupt router lies (dev) */ 0x00, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/lippert/spacerunner-lx/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/lippert/spacerunner-lx/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/lippert/spacerunner-lx/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -47,7 +47,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32 + 16 * CONFIG_IRQ_SLOT_COUNT,/* There can be total 7 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) */ (0x0F << 3) | 0x0, /* Where the interrupt router lies (dev) */ 0x00, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/msi/ms6119/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/msi/ms6119/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/msi/ms6119/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 7 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/msi/ms6147/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/msi/ms6147/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/msi/ms6147/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 8 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/msi/ms6178/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/msi/ms6178/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/msi/ms6178/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -69,7 +69,7 @@ default CONFIG_HAVE_MP_TABLE = 0 default CONFIG_HAVE_HARD_RESET = 0 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 4 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 64 * 1024
Modified: trunk/coreboot-v2/src/mainboard/nec/powermate2000/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/nec/powermate2000/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/nec/powermate2000/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -67,7 +67,7 @@ default CONFIG_HAVE_MP_TABLE = 0 default CONFIG_HAVE_HARD_RESET = 0 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 5 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 64 * 1024
Modified: trunk/coreboot-v2/src/mainboard/newisys/khepri/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/newisys/khepri/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/newisys/khepri/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -86,7 +86,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=15 +default CONFIG_IRQ_SLOT_COUNT=9
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/newisys/khepri/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/newisys/khepri/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/newisys/khepri/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -3,7 +3,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*9, /* there can be total 9 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */ 1, /* Where the interrupt router lies (bus) */ (4<<3)|3, /* Where the interrupt router lies (dev) */ 0x0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/olpc/btest/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/olpc/btest/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/olpc/btest/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*2, /* there can be total 2 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) */ (0x12<<3)|0x0, /* Where the interrupt router lies (dev) */ 0x800, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/olpc/rev_a/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/olpc/rev_a/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/olpc/rev_a/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*2, /* there can be total 2 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) */ (0x12<<3)|0x0, /* Where the interrupt router lies (dev) */ 0x800, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/rca/rm4100/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/rca/rm4100/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/rca/rm4100/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -23,7 +23,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total 7 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) */ (0x1f<<3)|0x0, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/soyo/sy-6ba-plus-iii/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/soyo/sy-6ba-plus-iii/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/soyo/sy-6ba-plus-iii/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -70,7 +70,7 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 1 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. +default CONFIG_IRQ_SLOT_COUNT = 7 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -81,7 +81,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=16 +default CONFIG_IRQ_SLOT_COUNT=15
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -5,7 +5,7 @@ const struct irq_routing_table intel_irq_routing_table = { 0x52495024, /* u32 signature */ 0x0100, /* u16 version */ - 272, /* u16 Table size 32+(16*devices) */ + 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* u16 Table size 32+(16*devices) */ 0x00, /* u8 Bus 0 */ 0xf8, /* u8 Device 1, Function 0 */ 0x0000, /* u16 reserve IRQ for PCI */
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -81,7 +81,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=16 +default CONFIG_IRQ_SLOT_COUNT=15
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -5,7 +5,7 @@ const struct irq_routing_table intel_irq_routing_table = { 0x52495024, /* u32 signature */ 0x0100, /* u16 version */ - 272, /* u16 Table size 32+(15*devices) */ + 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* u16 Table size 32+(16*devices) */ 0x00, /* u8 Bus 0 */ 0xf8, /* u8 Device 1, Function 0 */ 0x0000, /* u16 reserve IRQ for PCI */
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -81,7 +81,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=16 +default CONFIG_IRQ_SLOT_COUNT=15
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -5,7 +5,7 @@ const struct irq_routing_table intel_irq_routing_table = { 0x52495024, /* u32 signature */ 0x0100, /* u16 version */ - 272, /* u16 Table size 32+(15*devices) */ + 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* u16 Table size 32+(16*devices) */ 0x00, /* u8 Bus 0 */ 0xf8, /* u8 Device 1, Function 0 */ 0x0000, /* u16 reserve IRQ for PCI */
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -81,7 +81,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=16 +default CONFIG_IRQ_SLOT_COUNT=15
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -5,7 +5,7 @@ const struct irq_routing_table intel_irq_routing_table = { 0x52495024, /* u32 signature */ 0x0100, /* u16 version */ - 272, /* u16 Table size 32+(15*devices) */ + 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* u16 Table size 32+(16*devices) */ 0x00, /* u8 Bus 0 */ 0xf8, /* u8 Device 1, Function 0 */ 0x0000, /* u16 reserve IRQ for PCI */
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -81,7 +81,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=16 +default CONFIG_IRQ_SLOT_COUNT=15
## ## Build code to export an x86 MP table
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -5,7 +5,7 @@ const struct irq_routing_table intel_irq_routing_table = { 0x52495024, /* u32 signature */ 0x0100, /* u16 version */ - 272, /* u16 Table size 32+(15*devices) */ + 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* u16 Table size 32+(16*devices) */ 0x00, /* u8 Bus 0 */ 0xf8, /* u8 Device 1, Function 0 */ 0x0000, /* u16 reserve IRQ for PCI */
Modified: trunk/coreboot-v2/src/mainboard/technologic/ts5300/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/technologic/ts5300/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/technologic/ts5300/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -91,7 +91,7 @@ ## Build code to export a programmable irq routing table ## default CONFIG_HAVE_PIRQ_TABLE=1 -default CONFIG_IRQ_SLOT_COUNT=7 +default CONFIG_IRQ_SLOT_COUNT=2 #object irq_tables.o
##
Modified: trunk/coreboot-v2/src/mainboard/technologic/ts5300/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/technologic/ts5300/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/technologic/ts5300/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*7, /* there can be total 7 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) */ (0x00<<3)|0x0, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/thomson/ip1000/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/thomson/ip1000/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/thomson/ip1000/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -23,7 +23,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total 7 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) */ (0x1f<<3)|0x0, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/tyan/s1846/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s1846/Options.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/tyan/s1846/Options.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -26,7 +26,6 @@ uses CONFIG_HAVE_OPTION_TABLE uses CONFIG_USE_OPTION_TABLE uses CONFIG_ROM_PAYLOAD -uses CONFIG_IRQ_SLOT_COUNT uses CONFIG_MAINBOARD uses CONFIG_MAINBOARD_VENDOR uses CONFIG_MAINBOARD_PART_NUMBER @@ -71,7 +70,6 @@ default CONFIG_UDELAY_TSC = 1 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 default CONFIG_HAVE_PIRQ_TABLE = 0 -default CONFIG_IRQ_SLOT_COUNT = 0 # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_VENDOR = "N/A" # Override this in targets/*/Config.lb. default CONFIG_MAINBOARD_PART_NUMBER = "N/A" # Override this in targets/*/Config.lb. default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2735/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2735/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/tyan/s2735/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*15, /* there can be total 15 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) */ (0x1f<<3)|0x0, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2850/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2850/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/tyan/s2850/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*12, /* there can be total 12 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */ 1, /* Where the interrupt router lies (bus) */ (2<<3)|3, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2875/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2875/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/tyan/s2875/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*13, /* there can be total 13 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */ 1, /* Where the interrupt router lies (bus) */ (5<<3)|3, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2880/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2880/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/tyan/s2880/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*13, /* there can be total 13 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */ 1, /* Where the interrupt router lies (bus) */ (4<<3)|3, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2882/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2882/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/tyan/s2882/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -13,7 +13,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*15, /* there can be total 15 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */ 1, /* Where the interrupt router lies (bus) */ (4<<3)|3, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/tyan/s4880/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s4880/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/tyan/s4880/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*22, /* there can be total 22 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */ 1, /* Where the interrupt router lies (bus) */ (4<<3)|3, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/tyan/s4882/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s4882/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/tyan/s4882/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*22, /* there can be total 22 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */ 1, /* Where the interrupt router lies (bus) */ (4<<3)|3, /* Where the interrupt router lies (dev) */ 0, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/via/epia/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/via/epia/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/via/epia/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*5, /* there can be total 5 devices on the bus */ + 32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */ 0, /* Where the interrupt router lies (bus) */ 0x88, /* Where the interrupt router lies (dev) */ 0x1c20, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/via/epia-m/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/via/epia-m/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/via/epia-m/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -10,7 +10,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*5, /* there can be total 5 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) */ (0x00<<3)|0x0, /* Where the interrupt router lies (dev) */ 0xc20, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/via/epia-n/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/via/epia-n/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/via/epia-n/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -16,7 +16,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32+16*7, /* There can be total 7 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) */ 0x1c00, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/src/mainboard/via/vt8454c/irq_tables.c =================================================================== --- trunk/coreboot-v2/src/mainboard/via/vt8454c/irq_tables.c 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/src/mainboard/via/vt8454c/irq_tables.c 2009-10-07 21:51:33 UTC (rev 4739) @@ -24,7 +24,7 @@ const struct irq_routing_table intel_irq_routing_table = { PIRQ_SIGNATURE, /* u32 signature */ PIRQ_VERSION, /* u16 version */ - 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* There can be total 15 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) */ 0xc20, /* IRQs devoted exclusively to PCI usage */
Modified: trunk/coreboot-v2/targets/tyan/s1846/Config.lb =================================================================== --- trunk/coreboot-v2/targets/tyan/s1846/Config.lb 2009-10-07 18:41:08 UTC (rev 4738) +++ trunk/coreboot-v2/targets/tyan/s1846/Config.lb 2009-10-07 21:51:33 UTC (rev 4739) @@ -28,7 +28,6 @@
# TODO: Add/fix PIRQ table. option CONFIG_HAVE_PIRQ_TABLE = 0 -option CONFIG_IRQ_SLOT_COUNT = 0 # FIXME
option CONFIG_DEFAULT_CONSOLE_LOGLEVEL = 9 option CONFIG_MAXIMUM_CONSOLE_LOGLEVEL = 9