diff options
Diffstat (limited to 'board/esd/cpci750/pci.c')
-rw-r--r-- | board/esd/cpci750/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/cpci750/pci.c b/board/esd/cpci750/pci.c index c9b3ac2..59f170a 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 { |