Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Avoid a warning in bus_dmamap_load_...



details:   https://anonhg.NetBSD.org/src/rev/9ee06a3a0d95
branches:  trunk
changeset: 500068:9ee06a3a0d95
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Dec 04 20:12:10 2000 +0000

description:
Avoid a warning in bus_dmamap_load_uio by inserting a 'return 0' for
good measure in this unimplemented function.

diffstat:

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

diffs (18 lines):

diff -r 61e8d2840f4f -r 9ee06a3a0d95 sys/arch/sparc64/sparc64/machdep.c
--- a/sys/arch/sparc64/sparc64/machdep.c        Mon Dec 04 18:48:18 2000 +0000
+++ b/sys/arch/sparc64/sparc64/machdep.c        Mon Dec 04 20:12:10 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.92 2000/12/04 17:26:41 eeh Exp $ */
+/*     $NetBSD: machdep.c,v 1.93 2000/12/04 20:12:10 fvdl Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -1252,6 +1252,8 @@
                bus_dmamap_load(t, map, buf, buflen, p, flags);
        }
        panic("_bus_dmamap_load_uio: not implemented");
+#else
+       return 0;
 #endif
 }
 



Home | Main Index | Thread Index | Old Index