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/56f9c0104b8f
branches:  trunk
changeset: 339151:56f9c0104b8f
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 44ae1af73445 -r 56f9c0104b8f 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