Module Name: src Committed By: jakllsch Date: Sat Nov 14 03:44:52 UTC 2015
Modified Files: src/sys/arch/arm/nvidia: tegra_pcie.c tegra_reg.h Log Message: Jetson TK1 u-boot sets up PCI IO space in an impossible-to-use configuration. As we're already allocating resources on the PCI bus, set up our own mapping of PCI address spaces into the ARM address space. We rely on a potential overlap of address space windows to allow us to use the same bus_space_tag for PCI Memory and IO spaces. The PCI attachment of the onboard re(4) uses PCI IO space in preference to PCI Memory space for register accessses. As IO space was impossible to use, we had to avoid IO space. This is now no longer the case, so set up and enable IO space for PCI devices. Also, map ROM BARs. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/nvidia/tegra_pcie.c cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/nvidia/tegra_reg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.