[coreboot] Patch set updated for coreboot: 0ca02ce Don't write automatic IRQ entries for disabled devices

Sven Schnelle (svens@stackframe.org) gerrit at coreboot.org
Mon Aug 20 11:18:46 CEST 2012


Sven Schnelle (svens at stackframe.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1460

-gerrit

commit 0ca02ce984d68af3182cca8e520f7e45efe74708
Author: Sven Schnelle <svens at stackframe.org>
Date:   Mon Aug 20 11:17:52 2012 +0200

    Don't write automatic IRQ entries for disabled devices
    
    Change-Id: Ib3dae4f0957a2e0057c0dffb5eb9904af20dcd40
    Signed-off-by: Sven Schnelle <svens at stackframe.org>
---
 src/arch/x86/boot/mpspec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/arch/x86/boot/mpspec.c b/src/arch/x86/boot/mpspec.c
index 44236f1..010bca1 100644
--- a/src/arch/x86/boot/mpspec.c
+++ b/src/arch/x86/boot/mpspec.c
@@ -458,7 +458,7 @@ unsigned long __attribute__((weak)) write_smp_table(unsigned long addr)
 
 	for(dev = all_devices; dev; dev = dev->next) {
 
-		if (dev->path.type != DEVICE_PATH_PCI)
+		if (dev->path.type != DEVICE_PATH_PCI || !dev->enabled)
 			continue;
 
 		pin = (dev->path.pci.devfn & 7) % 4;




More information about the coreboot mailing list