summaryrefslogtreecommitdiff
path: root/sys/dev/dpaa
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2016-04-19 01:48:18 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2016-04-19 01:48:18 +0000
commitf60708c9f73da6d1b5bed5e7429604df7b0d91fe (patch)
tree2ace8ab57d0635a9f76fa7c28f3a24584de191a5 /sys/dev/dpaa
parent14adaa14cbefae00899f2d4d942a25cd5c11ea5d (diff)
Notes
Diffstat (limited to 'sys/dev/dpaa')
-rw-r--r--sys/dev/dpaa/portals_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/dpaa/portals_common.c b/sys/dev/dpaa/portals_common.c
index e540077b7555..61a034948250 100644
--- a/sys/dev/dpaa/portals_common.c
+++ b/sys/dev/dpaa/portals_common.c
@@ -75,8 +75,6 @@ dpaa_portal_alloc_res(device_t dev, struct dpaa_portals_devinfo *di, int cpu)
sc->sc_rres[0] = bus_alloc_resource(dev,
SYS_RES_MEMORY, &sc->sc_rrid[0], rle->start + sc->sc_dp_pa,
rle->end + sc->sc_dp_pa, rle->count, RF_ACTIVE);
- pmap_change_attr((vm_offset_t)rman_get_bushandle(sc->sc_rres[0]),
- rle->count, VM_MEMATTR_CACHEABLE);
if (sc->sc_rres[0] == NULL) {
device_printf(dev, "Could not allocate memory.\n");
return (ENXIO);