Revision 5256d8bf hw/pci_host.c

b/hw/pci_host.c
44 44
    uint8_t bus_num = addr >> 16;
45 45
    uint8_t devfn = addr >> 8;
46 46

  
47
    return pci_find_device(bus, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn));
47
    return pci_find_device(bus, bus_num, devfn);
48 48
}
49 49

  
50 50
void pci_data_write(PCIBus *s, uint32_t addr, uint32_t val, int len)

Also available in: Unified diff