diff options
author | Sven Schnelle <svens@stackframe.org> | 2012-08-20 11:17:52 +0200 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2012-08-21 00:34:45 +0200 |
commit | 64c40ddeec6f3f125683bb5a280255bb2d321f98 (patch) | |
tree | b77eba1cc74034b01fa721c4c97a590f92de1809 /src | |
parent | 7ecfa3073375c8a3797afeaf9dff831e929fb2e2 (diff) | |
download | coreboot-64c40ddeec6f3f125683bb5a280255bb2d321f98.tar.xz |
Don't write automatic IRQ entries for disabled devices
Change-Id: Ib3dae4f0957a2e0057c0dffb5eb9904af20dcd40
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/1460
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/boot/mpspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |