tile PCI RC: use proper accessor function
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 5 Aug 2013 17:32:52 +0000 (13:32 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 6 Aug 2013 16:55:56 +0000 (12:55 -0400)
commit8d9e53b93de7383d5bb4b3507f146bfcd83c6e5d
tree7a54bc1d199b384f0b58263e71489a0d9aed5dea
parenteafa5c8a10f52e5d05870a40e2ffb49537d4471f
tile PCI RC: use proper accessor function

Using the low-level hv_dev_pread() API makes assumptions about the
layout of datastructures in the Tilera hypervisor API; it's better to
use the gxio_XXX accessor and the pcie_trio_ports_property struct.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/pci_gx.c