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