[coreboot] r3687 - trunk/coreboot-v2/src/arch/i386/boot

svn at coreboot.org svn at coreboot.org
Thu Oct 23 00:20:49 CEST 2008


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 <JRottmann at LiPPERTEmbedded.de>
Acked-by: Marc Jones <marc.jones at amd.com>


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;





More information about the coreboot mailing list