Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/shark/ofw don't map the framebuffer as cacheable
details: https://anonhg.NetBSD.org/src/rev/8373701fddbd
branches: trunk
changeset: 809293:8373701fddbd
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Jun 30 03:52:54 2015 +0000
description:
don't map the framebuffer as cacheable
diffstat:
sys/arch/shark/ofw/igsfb_ofbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7583e47b5c35 -r 8373701fddbd sys/arch/shark/ofw/igsfb_ofbus.c
--- a/sys/arch/shark/ofw/igsfb_ofbus.c Tue Jun 30 03:41:04 2015 +0000
+++ b/sys/arch/shark/ofw/igsfb_ofbus.c Tue Jun 30 03:52:54 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: igsfb_ofbus.c,v 1.15 2014/01/02 19:00:39 joerg Exp $ */
+/* $NetBSD: igsfb_ofbus.c,v 1.16 2015/06/30 03:52:54 macallan Exp $ */
/*
* Copyright (c) 2006 Michael Lorenz
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: igsfb_ofbus.c,v 1.15 2014/01/02 19:00:39 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: igsfb_ofbus.c,v 1.16 2015/06/30 03:52:54 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -112,7 +112,7 @@
igsfb_mem_paddr = be32toh(regs[13]);
/* 4MB VRAM aperture, bufferable and cacheable */
- igsfb_mem_vaddr = ofw_map(igsfb_mem_paddr, 0x00400000, L2_B | L2_C);
+ igsfb_mem_vaddr = ofw_map(igsfb_mem_paddr, 0x00400000, L2_B);
/* MMIO registers */
igsfb_mmio_vaddr = ofw_map(igsfb_mem_paddr + IGS_MEM_MMIO_SELECT,
0x00100000, 0);
Home |
Main Index |
Thread Index |
Old Index