mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 09:21:26 +01:00
x86: pci: Do not assign irq 0 to pci device
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>
This commit is contained in:
parent
31a2dc6955
commit
6fc0e8a1fa
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue