X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=board%2Fesd%2Fcpci750%2Fpci.c;h=59f170a0df7108e79945bec78db2cf0072c5a8d7;hp=c9b3ac2a4f36ea03061891e051b09364fbe0da94;hb=93e1459641e758d2b096d3f1b39414a39bb314f8;hpb=3765b3e7bd0f8e46914d417f29cbcb0c72b1acf7 diff --git a/board/esd/cpci750/pci.c b/board/esd/cpci750/pci.c index c9b3ac2a4f..59f170a0df 100644 --- a/board/esd/cpci750/pci.c +++ b/board/esd/cpci750/pci.c @@ -746,7 +746,7 @@ static int gt_read_config_dword (struct pci_controller *hose, int bus = PCI_BUS (dev); if ((bus == local_buses[0]) || (bus == local_buses[1])) { - *value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr, + *value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr, offset | (PCI_FUNC(dev) << 8), PCI_DEV (dev)); } else {