diff options
author | Isaku Yamahata | 2011-01-27 07:56:38 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2011-03-28 18:34:22 +0200 |
commit | 6ff534b678e26450ad6e2ad850b70c9db0e92139 (patch) | |
tree | 43d6496cef67617aca54ebed9e771c212c54dd5d /hw/virtio-serial-bus.c | |
parent | pci: use devfn for pci_find_device() instead of (slot, fn) pair (diff) | |
download | qemu-6ff534b678e26450ad6e2ad850b70c9db0e92139.tar.gz qemu-6ff534b678e26450ad6e2ad850b70c9db0e92139.tar.xz qemu-6ff534b678e26450ad6e2ad850b70c9db0e92139.zip |
pci: use PCI_DEVFN in pci_get_bus_devfn()
Replace hardcoded logic by a common macro.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio-serial-bus.c')
0 files changed, 0 insertions, 0 deletions