Author: mjones
Date: 2008-10-23 00:20:48 +0200 (Thu, 23 Oct 2008)
New Revision: 3687

Modified:
   trunk/coreboot-v2/src/arch/i386/boot/pirq_routing.c
Log:
Fixes a off-by-one error when routing the IRQs. This led to IRQ15 not
getting assigned.

Signed-off-by: Jens Rottmann <[EMAIL PROTECTED]>
Acked-by: Marc Jones <[EMAIL PROTECTED]>


Modified: trunk/coreboot-v2/src/arch/i386/boot/pirq_routing.c
===================================================================
--- trunk/coreboot-v2/src/arch/i386/boot/pirq_routing.c 2008-10-22 15:49:20 UTC 
(rev 3686)
+++ trunk/coreboot-v2/src/arch/i386/boot/pirq_routing.c 2008-10-22 22:20:48 UTC 
(rev 3687)
@@ -137,7 +137,7 @@
                        /* yet not routed */
                        if (!pirq[link - 1]) {
 
-                               for (k = 2; k < 15; k++) {
+                               for (k = 2; k <= 15; k++) {
 
                                        if (!((bitmap >> k) & 1))
                                                continue;


--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to