svn commit: r290158 - head/sys/dev/ntb/ntb_hw
Conrad E. Meyer
cem at FreeBSD.org
Thu Oct 29 19:35:02 UTC 2015
Author: cem
Date: Thu Oct 29 19:35:01 2015
New Revision: 290158
URL: https://svnweb.freebsd.org/changeset/base/290158
Log:
ntb: Revert r290130 now that r290156 has landed
Nagged by: vangyzen
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/ntb_hw/ntb_hw.c
Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw.c Thu Oct 29 19:28:21 2015 (r290157)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw.c Thu Oct 29 19:35:01 2015 (r290158)
@@ -755,13 +755,9 @@ map_memory_window_bar(struct ntb_softc *
save_bar_parameters(bar);
}
-#if 0 /* XXX: amd64 pmap_change_attr() assumes region lies in DMAP. */
/* Mark bar region as write combining to improve performance. */
rc = pmap_change_attr((vm_offset_t)bar->vbase, bar->size,
VM_MEMATTR_WRITE_COMBINING);
-#else
- rc = EINVAL;
-#endif
print_map_success(ntb, bar, "mw");
if (rc == 0)
device_printf(ntb->device,
More information about the svn-src-all
mailing list