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/mvme68k/mvme68k Pullup from trunk: 1.2-1.3
details: https://anonhg.NetBSD.org/src/rev/31a1adfc5354
branches: netbsd-1-5
changeset: 488257:31a1adfc5354
user: scw <scw%NetBSD.org@localhost>
date: Sun Jun 25 17:10:25 2000 +0000
description:
Pullup from trunk: 1.2-1.3
Authorised by: thorpej
GC some unused variables when DIAGNOSTIC and M68040 are undefined.
diffstat:
sys/arch/mvme68k/mvme68k/bus_dma.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 473eb3faa415 -r 31a1adfc5354 sys/arch/mvme68k/mvme68k/bus_dma.c
--- a/sys/arch/mvme68k/mvme68k/bus_dma.c Sun Jun 25 17:06:32 2000 +0000
+++ b/sys/arch/mvme68k/mvme68k/bus_dma.c Sun Jun 25 17:10:25 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.2 2000/03/18 22:33:06 scw Exp $ */
+/* $NetBSD: bus_dma.c,v 1.2.4.1 2000/06/25 17:10:25 scw Exp $ */
/*
* This file was taken from from next68k/dev/bus_dma.c, which was originally
@@ -46,7 +46,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.2 2000/03/18 22:33:06 scw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.2.4.1 2000/06/25 17:10:25 scw Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -452,6 +452,8 @@
* @@@ should probably be fixed to use offset and len args.
*/
+#if defined(DIAGNOSTIC) || defined(M68040) /* XXX: Until 030/060 catered for */
+
if (ops & BUS_DMASYNC_PREWRITE) {
int i;
for(i=0;i<map->dm_nsegs;i++) {
@@ -534,6 +536,7 @@
#endif
}
}
+#endif
}
/*
Home |
Main Index |
Thread Index |
Old Index