tile PCI RC: restructure TRIO initialization
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 5 Aug 2013 17:18:02 +0000 (13:18 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 6 Aug 2013 16:55:40 +0000 (12:55 -0400)
commit1c43649a9929ca4394ae389b4510c61f3876a12b
tree0f8ed02e97c0bd3a5e4bb67ff87c64f9015d69c2
parent9b6846cede40cf12429d0fa06b3af0a0f40ae596
tile PCI RC: restructure TRIO initialization

The TRIO shim initialization is shared with other kernel drivers
such as the endpoint and StreamIO drivers, so reorganize the
initialization flow to ensure that the root complex driver properly
initializes TRIO state regardless of what kind of TRIO driver will
end up using the shim.

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