]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a9afe0d7e3f6e6d5cc0ca6e1a8ee7223216328a
tree7a54bc1d199b384f0b58263e71489a0d9aed5dea
parent5aa1455ddacb735d3999af0bddc311ba3eb55786
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