Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 In _bus_dmamap_load_busaddr(), change sgsiz...
details: https://anonhg.NetBSD.org/src/rev/307b8d3fbf83
branches: trunk
changeset: 769957:307b8d3fbf83
user: dyoung <dyoung%NetBSD.org@localhost>
date: Tue Sep 27 23:33:35 2011 +0000
description:
In _bus_dmamap_load_busaddr(), change sgsize from an int to a bus_size_t.
diffstat:
sys/arch/x86/x86/bus_dma.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4ee4899b6a55 -r 307b8d3fbf83 sys/arch/x86/x86/bus_dma.c
--- a/sys/arch/x86/x86/bus_dma.c Tue Sep 27 23:25:55 2011 +0000
+++ b/sys/arch/x86/x86/bus_dma.c Tue Sep 27 23:33:35 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.61 2011/09/27 23:25:55 dyoung Exp $ */
+/* $NetBSD: bus_dma.c,v 1.62 2011/09/27 23:33:35 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2007 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.61 2011/09/27 23:25:55 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.62 2011/09/27 23:33:35 dyoung Exp $");
/*
* The following is included because _bus_dma_uiomove is derived from
@@ -442,7 +442,7 @@
int nseg = map->dm_nsegs;
bus_addr_t bmask = ~(map->_dm_boundary - 1);
bus_addr_t lastaddr = 0xdead; /* XXX gcc */
- int sgsize;
+ bus_size_t sgsize;
if (nseg > 0)
lastaddr = segs[nseg-1].ds_addr + segs[nseg-1].ds_len;
Home |
Main Index |
Thread Index |
Old Index