Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/booke/dev Map NOR as PREFETCHABLE.



details:   https://anonhg.NetBSD.org/src/rev/f491a62cfb7f
branches:  trunk
changeset: 780268:f491a62cfb7f
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jul 18 19:01:50 2012 +0000

description:
Map NOR as PREFETCHABLE.

diffstat:

 sys/arch/powerpc/booke/dev/pq3cfi.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c581a8c678d0 -r f491a62cfb7f sys/arch/powerpc/booke/dev/pq3cfi.c
--- a/sys/arch/powerpc/booke/dev/pq3cfi.c       Wed Jul 18 18:55:27 2012 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3cfi.c       Wed Jul 18 19:01:50 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pq3cfi.c,v 1.4 2011/08/06 05:48:01 cliff Exp $ */
+/*     $NetBSD: pq3cfi.c,v 1.5 2012/07/18 19:01:50 matt Exp $  */
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -36,7 +36,7 @@
 #include "locators.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pq3cfi.c,v 1.4 2011/08/06 05:48:01 cliff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pq3cfi.c,v 1.5 2012/07/18 19:01:50 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -148,7 +148,7 @@
        cfi_print(self, &sc->sc_cfi);
 
        error = bus_space_map(sc->sc_cfi.cfi_bst, sc->sc_addr, sc->sc_size,
-               0, &sc->sc_cfi.cfi_bsh);
+               BUS_SPACE_MAP_PREFETCHABLE, &sc->sc_cfi.cfi_bsh);
        if (error != 0) {
                aprint_error_dev(self, "could not map error %d\n", error);
                return;



Home | Main Index | Thread Index | Old Index