Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/sparc/sparc Pull up revision 1.166.



details:   https://anonhg.NetBSD.org/src/rev/1d607fb94dd4
branches:  netbsd-1-5
changeset: 488669:1d607fb94dd4
user:      pk <pk%NetBSD.org@localhost>
date:      Sat Jul 22 21:19:45 2000 +0000

description:
Pull up revision 1.166.

Maintain the DVMA map extent subregion boundaries in the bus_dma map
structure.

diffstat:

 sys/arch/sparc/sparc/machdep.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 11daea87bd69 -r 1d607fb94dd4 sys/arch/sparc/sparc/machdep.c
--- a/sys/arch/sparc/sparc/machdep.c    Sat Jul 22 21:18:57 2000 +0000
+++ b/sys/arch/sparc/sparc/machdep.c    Sat Jul 22 21:19:45 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.165.4.2 2000/07/19 02:53:15 mrg Exp $ */
+/*     $NetBSD: machdep.c,v 1.165.4.3 2000/07/22 21:19:45 pk Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -1089,6 +1089,7 @@
        map->_dm_segcnt = nsegments;
        map->_dm_maxsegsz = maxsegsz;
        map->_dm_boundary = boundary;
+       map->_dm_align = PAGE_SIZE;
        map->_dm_flags = flags & ~(BUS_DMA_WAITOK|BUS_DMA_NOWAIT);
        map->dm_mapsize = 0;            /* no valid mappings */
        map->dm_nsegs = 0;



Home | Main Index | Thread Index | Old Index