]> git.sur5r.net Git - u-boot/commit
x86: Add a function to assign IRQ numbers to PCI device
authorBin Meng <bmeng.cn@gmail.com>
Fri, 24 Apr 2015 10:10:03 +0000 (18:10 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 00:51:49 +0000 (18:51 -0600)
commite3e7fa2cd16646f331ddc4f611bcc91bb54a7075
tree4e59cbd4ec0f58be634dfcd59a468543f4732b86
parent54c6001bbac1cb3b6b85605d115e5f73ef1ab198
x86: Add a function to assign IRQ numbers to PCI device

Add a function to assign an IRQ number to PCI device's interrupt
line register in its configuration space, so that the PCI device
can have its interrupt working under PIC mode after OS boots up.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/pci.c
arch/x86/include/asm/pci.h