pci: use helper functions to access pci config space.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 30 Oct 2009 12:21:00 +0000 (21:21 +0900)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:05 +0000 (08:43 -0600)
commit7b1f6b274683bf839ebe879bc847489aa63d3935
treed6f204f042e8d192cc00ade0f0089eeaeb7a1032
parent8a1f71172468b708171f5ac10df204dc1c7d39df
pci: use helper functions to access pci config space.

use pci_[gs]et_{byte, word, long}() to access pci configuration
space.

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/pci.c