Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Do not trim 'offset' from 'len' in _bus_d...
details: https://anonhg.NetBSD.org/src/rev/0c84664dcc9b
branches: trunk
changeset: 535394:0c84664dcc9b
user: briggs <briggs%NetBSD.org@localhost>
date: Sat Aug 17 05:14:10 2002 +0000
description:
Do not trim 'offset' from 'len' in _bus_dmamap_sync_linear().
diffstat:
sys/arch/arm/arm32/bus_dma.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 70f5ac335a86 -r 0c84664dcc9b sys/arch/arm/arm32/bus_dma.c
--- a/sys/arch/arm/arm32/bus_dma.c Sat Aug 17 03:14:47 2002 +0000
+++ b/sys/arch/arm/arm32/bus_dma.c Sat Aug 17 05:14:10 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.19 2002/08/17 01:15:15 briggs Exp $ */
+/* $NetBSD: bus_dma.c,v 1.20 2002/08/17 05:14:10 briggs Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -364,7 +364,6 @@
vaddr_t addr = (vaddr_t) map->_dm_origbuf;
addr += offset;
- len -= offset;
switch (ops) {
case BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE:
Home |
Main Index |
Thread Index |
Old Index