提交 6fc0e8a1 编写于 作者: B Bin Meng 提交者: Simon Glass

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: NBin Meng <bmeng.cn@gmail.com>
Acked-by: NSimon Glass <sjg@chromium.org>
上级 31a2dc69
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册