diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-07-04 21:39:28 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-12 08:52:22 +0000 |
commit | c19d6a6ce59873f2326b14bb4af69048cceb9300 (patch) | |
tree | 78551a45b39443b50fc87c2d34729656d69ee04c /src/arch/x86 | |
parent | 8da51ca2c36f9219a91a48540e673fbd04753345 (diff) |
device/pci: Replace use of dev_find_slot() for IRQs
Change-Id: I48c0de73338430282ce1a4442bbeb7c867dc174c
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34079
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/pirq_routing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/pirq_routing.c b/src/arch/x86/pirq_routing.c index 5f80c9d56c..9d1f5910e9 100644 --- a/src/arch/x86/pirq_routing.c +++ b/src/arch/x86/pirq_routing.c @@ -177,7 +177,7 @@ static void pirq_route_irqs(unsigned long addr) } /* Bus, device, slots IRQs for {A,B,C,D}. */ - pci_assign_irqs(bus, devfn >> 3, irq_slot); + pci_assign_irqs(pcidev_path_on_bus(bus, devfn), irq_slot); } for (i = 0; i < CONFIG_MAX_PIRQ_LINKS; i++) |