]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/x86/cpu/irq.c
x86: Write correct bus number for the irq router
[karo-tx-uboot.git] / arch / x86 / cpu / irq.c
index 74b89ad2ff6c08d4b63fbc4b0244bcf6d13c6d92..7d5ccc1c651849de5759056f2a43bee07dac1c86 100644 (file)
@@ -161,7 +161,7 @@ static int create_pirq_routing_table(void)
        /* Populate the PIRQ table fields */
        rt->signature = PIRQ_SIGNATURE;
        rt->version = PIRQ_VERSION;
-       rt->rtr_bus = 0;
+       rt->rtr_bus = PCI_BUS(irq_router.bdf);
        rt->rtr_devfn = (PCI_DEV(irq_router.bdf) << 3) |
                        PCI_FUNC(irq_router.bdf);
        rt->rtr_vendor = PCI_VENDOR_ID_INTEL;