Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/dev set BUS_SPACE_MAP_PREFETCHABLE when map...
details: https://anonhg.NetBSD.org/src/rev/a468415bb610
branches: trunk
changeset: 348728:a468415bb610
user: macallan <macallan%NetBSD.org@localhost>
date: Fri Nov 04 18:11:15 2016 +0000
description:
set BUS_SPACE_MAP_PREFETCHABLE when mapping the SFB32 range
now using alpha fonts is actually faster than using bitmap fonts
diffstat:
sys/arch/sparc64/dev/ffb_mainbus.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 63b212df486b -r a468415bb610 sys/arch/sparc64/dev/ffb_mainbus.c
--- a/sys/arch/sparc64/dev/ffb_mainbus.c Fri Nov 04 18:09:14 2016 +0000
+++ b/sys/arch/sparc64/dev/ffb_mainbus.c Fri Nov 04 18:11:15 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffb_mainbus.c,v 1.13 2011/12/22 05:08:05 macallan Exp $ */
+/* $NetBSD: ffb_mainbus.c,v 1.14 2016/11/04 18:11:15 macallan Exp $ */
/* $OpenBSD: creator_mainbus.c,v 1.4 2002/07/26 16:39:04 jason Exp $ */
/*
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffb_mainbus.c,v 1.13 2011/12/22 05:08:05 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffb_mainbus.c,v 1.14 2016/11/04 18:11:15 macallan Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -103,7 +103,8 @@
}
if (bus_space_map(sc->sc_bt, ma->ma_reg[FFB_REG_SFB32].ur_paddr,
- ma->ma_reg[FFB_REG_SFB32].ur_len, BUS_SPACE_MAP_LINEAR,
+ ma->ma_reg[FFB_REG_SFB32].ur_len,
+ BUS_SPACE_MAP_LINEAR | BUS_SPACE_MAP_PREFETCHABLE,
&sc->sc_sfb32_h)) {
panic(": failed to map SFB32\n");
goto unmap_dac;
Home |
Main Index |
Thread Index |
Old Index