]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:14 +0000 (22:35 +0200)
commitdc7673930d18b7d1590b4f4ef0efd032b1120398
tree718cf4019236fc6747586af2cfa77b08a23292ab
parent3926a0bc0a1e888296fba792d61877b3532a9447
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