Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvme68k/mvme68k bus_dmamem_map() expect a cpu-relat...



details:   https://anonhg.NetBSD.org/src/rev/a2b5399e05e3
branches:  trunk
changeset: 499311:a2b5399e05e3
user:      scw <scw%NetBSD.org@localhost>
date:      Thu Nov 16 19:12:20 2000 +0000

description:
bus_dmamem_map() expect a cpu-relative physical address...

diffstat:

 sys/arch/mvme68k/mvme68k/bus_space.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bf4e3b1da655 -r a2b5399e05e3 sys/arch/mvme68k/mvme68k/bus_space.c
--- a/sys/arch/mvme68k/mvme68k/bus_space.c      Thu Nov 16 19:02:33 2000 +0000
+++ b/sys/arch/mvme68k/mvme68k/bus_space.c      Thu Nov 16 19:12:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_space.c,v 1.2 2000/03/18 22:33:06 scw Exp $        */
+/*     $NetBSD: bus_space.c,v 1.3 2000/11/16 19:12:20 scw Exp $        */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
        if ( bust != MVME68K_VME_BUS_SPACE )
                panic("bus_space_map: bad space tag");
 
-       seg.ds_addr = m68k_trunc_page(addr);
+       seg._ds_cpuaddr = m68k_trunc_page(addr);
        seg.ds_len = m68k_round_page(size);
 
        rv = _bus_dmamem_map(NULL, &seg, 1, seg.ds_len, &va,



Home | Main Index | Thread Index | Old Index