From 64c40ddeec6f3f125683bb5a280255bb2d321f98 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Mon, 20 Aug 2012 11:17:52 +0200 Subject: [PATCH] Don't write automatic IRQ entries for disabled devices Change-Id: Ib3dae4f0957a2e0057c0dffb5eb9904af20dcd40 Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/1460 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- 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 44236f1cca..010bca15c9 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;