Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/dev work around a bug passing arguments to ...
details: https://anonhg.NetBSD.org/src/rev/204628664c9a
branches: trunk
changeset: 494516:204628664c9a
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Jul 07 12:53:29 2000 +0000
description:
work around a bug passing arguments to iommu_dvma_load_raw()
diffstat:
sys/arch/sparc64/dev/iommuvar.h | 4 ++--
sys/arch/sparc64/dev/psycho.c | 4 ++--
sys/arch/sparc64/dev/sbus.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 3fdaf3615353 -r 204628664c9a sys/arch/sparc64/dev/iommuvar.h
--- a/sys/arch/sparc64/dev/iommuvar.h Fri Jul 07 12:50:15 2000 +0000
+++ b/sys/arch/sparc64/dev/iommuvar.h Fri Jul 07 12:53:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iommuvar.h,v 1.5 2000/06/18 07:17:40 mrg Exp $ */
+/* $NetBSD: iommuvar.h,v 1.6 2000/07/07 12:53:29 mrg Exp $ */
/*
* Copyright (c) 1999 Matthew R. Green
@@ -63,7 +63,7 @@
void iommu_dvmamap_unload __P((bus_dma_tag_t, struct iommu_state *,
bus_dmamap_t));
int iommu_dvmamap_load_raw __P((bus_dma_tag_t, struct iommu_state *,
- bus_dmamap_t, bus_dma_segment_t *, int, bus_size_t, int));
+ bus_dmamap_t, bus_dma_segment_t *, int, int, bus_size_t));
void iommu_dvmamap_sync __P((bus_dma_tag_t, struct iommu_state *,
bus_dmamap_t, bus_addr_t, bus_size_t, int));
int iommu_dvmamem_alloc __P((bus_dma_tag_t, struct iommu_state *,
diff -r 3fdaf3615353 -r 204628664c9a sys/arch/sparc64/dev/psycho.c
--- a/sys/arch/sparc64/dev/psycho.c Fri Jul 07 12:50:15 2000 +0000
+++ b/sys/arch/sparc64/dev/psycho.c Fri Jul 07 12:53:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psycho.c,v 1.19 2000/07/05 12:11:59 pk Exp $ */
+/* $NetBSD: psycho.c,v 1.20 2000/07/07 12:53:30 mrg Exp $ */
/*
* Copyright (c) 1999, 2000 Matthew R. Green
@@ -1042,7 +1042,7 @@
struct psycho_pbm *pp = (struct psycho_pbm *)t->_cookie;
struct psycho_softc *sc = pp->pp_sc;
- return (iommu_dvmamap_load_raw(t, &sc->sc_is, map, segs, nsegs, size, flags));
+ return (iommu_dvmamap_load_raw(t, &sc->sc_is, map, segs, nsegs, flags, size));
}
void
diff -r 3fdaf3615353 -r 204628664c9a sys/arch/sparc64/dev/sbus.c
--- a/sys/arch/sparc64/dev/sbus.c Fri Jul 07 12:50:15 2000 +0000
+++ b/sys/arch/sparc64/dev/sbus.c Fri Jul 07 12:53:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbus.c,v 1.33 2000/06/29 07:37:55 mrg Exp $ */
+/* $NetBSD: sbus.c,v 1.34 2000/07/07 12:53:30 mrg Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -784,7 +784,7 @@
{
struct sbus_softc *sc = (struct sbus_softc *)tag->_cookie;
- return (iommu_dvmamap_load_raw(tag, &sc->sc_is, map, segs, nsegs, size, flags));
+ return (iommu_dvmamap_load_raw(tag, &sc->sc_is, map, segs, nsegs, flags, size));
}
void
Home |
Main Index |
Thread Index |
Old Index