diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-05-11 00:41:40 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-05-11 00:41:40 +0000 |
commit | b03f6e30ccf060a1c621406a3efe64bdaa471aa6 (patch) | |
tree | 6f26bea9800c710c22f7c9703bdd4173220435c2 /sys/dev/dpaa/portals_common.c | |
parent | e2a1919df0110f0b783b87f3a85fa1ec7a116b1d (diff) | |
download | src-b03f6e30ccf060a1c621406a3efe64bdaa471aa6.tar.gz src-b03f6e30ccf060a1c621406a3efe64bdaa471aa6.zip |
Don't mark the initial portal registers as fully mapped.
BMan and QMan will do this at attach time. Even though the registers are mapped
now, dpaa_portal_map_registers() will be called at BMan and QMan attach time,
updating the mappings to be private, and in the case of cache-enabled registers,
marked as coherent memory mappings.
Notes
Notes:
svn path=/head/; revision=299399
Diffstat (limited to 'sys/dev/dpaa/portals_common.c')
-rw-r--r-- | sys/dev/dpaa/portals_common.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/dpaa/portals_common.c b/sys/dev/dpaa/portals_common.c index 61a034948250..7c7408d2e24d 100644 --- a/sys/dev/dpaa/portals_common.c +++ b/sys/dev/dpaa/portals_common.c @@ -91,7 +91,6 @@ dpaa_portal_alloc_res(device_t dev, struct dpaa_portals_devinfo *di, int cpu) sc->sc_rrid[0], sc->sc_rres[0]); return (ENXIO); } - sc->sc_dp[PCPU_GET(cpuid)].dp_regs_mapped = 1; } /* Acquire portal's CE_PA and CI_PA */ rle = resource_list_find(res, SYS_RES_MEMORY, 0); |