projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a2dc6
)
x86: pci: Do not assign irq 0 to pci device
author
Bin Meng
<bmeng.cn@gmail.com>
Wed, 15 Jul 2015 08:23:41 +0000
(16:23 +0800)
committer
Simon Glass
<sjg@chromium.org>
Tue, 28 Jul 2015 16:36:22 +0000
(10:36 -0600)
IRQ 0 is reserved and should not be assigned to pci device.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/pci.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/pci.c
b/arch/x86/cpu/pci.c
index fdfd5f7b9cc85648227f0e1a1fdc50e3e49d1fde..f8da08035e62bbcfd5454682bfa5b03fbeca19a9 100644
(file)
--- a/
arch/x86/cpu/pci.c
+++ b/
arch/x86/cpu/pci.c
@@
-172,6
+172,8
@@
void pci_assign_irqs(int bus, int device, u8 irq[4])
continue;
line = irq[pin - 1];
+ if (!line)
+ continue;
debug("Assigning IRQ %d to PCI device %d.%x.%d (INT%c)\n",
line, bus, device, func, 'A' + pin - 1);