pci: use PCI_DEVFN in pci_get_bus_devfn()
commit6ff534b678e26450ad6e2ad850b70c9db0e92139
authorIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 27 Jan 2011 06:56:38 +0000 (27 15:56 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Mar 2011 16:34:22 +0000 (28 18:34 +0200)
tree43d6496cef67617aca54ebed9e771c212c54dd5d
parent5256d8bfad9b0113dc2f9b57706eaad26b008987
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>
hw/pci.c