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>
This commit is contained in:
parent
7ecfa30733
commit
64c40ddeec
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue