u-boot/drivers/pci
Bogdan Purcareata 3378727d13 pcie/layerscape: fix bug in bus number computation when setting msi-map
When multiple PCI cards are present in an ls2080a board, the second
card does not get its msi-map set up properly due to a bug in
computing the bus number.

The bus number returned by PCI_BDF() is not the actual PCI bus
number, but instead represents a global u-boot PCI bus number. A
given bus number is relative to hose->first_busno, so that has to be
subtracted from the PCI device id.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Acked-by: Stuart Yoder <stuart.yoder@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
2016-06-03 14:12:10 -07:00
..
Kconfig dm: pci: Disable PCI compatibility functions by default 2015-12-01 06:26:38 -07:00
Makefile dm: pci: video: Convert video and pci_rom to use DM PCI API 2016-01-12 10:19:09 -07:00
fsl_pci_init.c fsl/pci: Set CFG_READY for PCIe v3.0 and later 2015-05-04 09:24:23 -07:00
pci-emul-uclass.c dm: sandbox: pci: Add a PCI emulation uclass 2015-04-16 19:27:43 -06:00
pci-uclass.c pci: Device scanning range fix 2016-04-25 15:10:43 -04:00
pci.c pci: Drop CONFIG_SYS_SCSI_SCAN_BUS_REVERSE 2016-05-17 09:54:43 -06:00
pci_auto.c pci: Fix compiler warnings in dm_pciauto_setup_device() 2016-02-26 08:53:10 -07:00
pci_auto_common.c dm: pci: Break out the common region display code 2016-03-14 15:34:50 -06:00
pci_auto_old.c drivers/pci: Fix for debug builds without CONFIG_PCI_ENUM_ONLY 2016-01-14 14:08:59 +01:00
pci_common.c dm: pci: Switch to DM API for PCI address mapping 2016-01-12 10:19:09 -07:00
pci_compat.c dm: pci: Move pci_bus_to_hose() to compatibility 2016-01-24 12:07:17 +08:00
pci_ftpci100.c Merge branch 'master' of git://git.denx.de/u-boot-nds32 2013-07-25 08:51:51 -04:00
pci_gt64120.c qemu-malta: Update for SPDX license identifiers 2013-07-25 08:51:48 -04:00
pci_indirect.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_internal.h dm: pci: Move pci_bus_to_hose() to compatibility 2016-01-24 12:07:17 +08:00
pci_msc01.c malta: support for coreFPGA6 boards 2013-11-09 17:21:01 +01:00
pci_mvebu.c drivers/pci/pci_mvebu: Fix for boards with X4 lanes 2016-01-14 14:08:59 +01:00
pci_rom.c pci_rom: fix may be used uninitialized warning 2016-02-24 18:43:59 -05:00
pci_sandbox.c dm: sandbox: Add a simple PCI driver 2015-04-16 19:27:43 -06:00
pci_sh4.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_sh7751.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_sh7780.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_tegra.c pci: tegra: fix DM conversion issues on Tegra20 2016-05-04 13:31:04 -07:00
pci_x86.c x86: pci: Tidy up the generic x86 PCI driver 2015-07-14 18:03:19 -06:00
pcie_imx.c pci: imx: Adjust the return value when imx_pcie_addr_valid() fails 2016-01-08 10:15:49 -05:00
pcie_layerscape.c pcie/layerscape: fix bug in bus number computation when setting msi-map 2016-06-03 14:12:10 -07:00
tsi108_pci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
w83c553f.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00