pci: use PCI_SLOT() and PCI_FUNC().
commit2217dcfff5e24a16217cba5e53c3579f97d8880e
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 30 Oct 2009 12:20:57 +0000 (30 21:20 +0900)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:04 +0000 (9 08:43 -0600)
treea5e05980d3e68b55c0a12c1cc24d0f821721f3b2
parente369cad7cd574d6d7e680ccd4d3227de7d1a0135
pci: use PCI_SLOT() and PCI_FUNC().

use PCI_SLOT() and PCI_FUNC() where appropriate instead of
direct use of bit operation.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/apb_pci.c
hw/pci.c