]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
x86: Ignore function number when writing PIRQ routing table
authorBin Meng <bmeng.cn@gmail.com>
Tue, 23 Jun 2015 04:18:46 +0000 (12:18 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:23 +0000 (13:29 +0200)
commit81260aa555de855280fcc36a5103237e4d418c6f
tree7fe5ca3097e7172171db1e3f5c0cc89e9f2f9bb2
parentba048b1faae211f1ecce29935d0ded50a5657a3c
x86: Ignore function number when writing PIRQ routing table

In fill_irq_info() pci device's function number is written into
the table, however this is not really necessary. The function
number can be anything as OS doesn't care about this field,
neither does the PIRQ routing specification. Change to always
writing 0 as the function number.

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