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/sparc64/dev Pull up revision 1.17 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/96558326312e
branches:  netbsd-1-5
changeset: 491759:96558326312e
user:      he <he%NetBSD.org@localhost>
date:      Tue May 15 22:07:48 2001 +0000

description:
Pull up revision 1.17 (requested by martin):
  Fix a bug: ``sc'' is a pointer, so use it correctly.

diffstat:

 sys/arch/sparc64/dev/ebus.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (70 lines):

diff -r 46d1b3fbdfb0 -r 96558326312e sys/arch/sparc64/dev/ebus.c
--- a/sys/arch/sparc64/dev/ebus.c       Tue May 15 22:04:56 2001 +0000
+++ b/sys/arch/sparc64/dev/ebus.c       Tue May 15 22:07:48 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ebus.c,v 1.11.2.1 2000/07/18 16:23:19 mrg Exp $        */
+/*     $NetBSD: ebus.c,v 1.11.2.2 2001/05/15 22:07:48 he Exp $ */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -562,7 +562,7 @@
 {
        struct ebus_softc *sc = t->_cookie;
 
-       return (iommu_dvmamap_load(t, &sc->sc_parent->sc_is, map, buf, buflen,
+       return (iommu_dvmamap_load(t, sc->sc_parent->sc_is, map, buf, buflen,
            p, flags));
 }
 
@@ -573,7 +573,7 @@
 {
        struct ebus_softc *sc = t->_cookie;
 
-       iommu_dvmamap_unload(t, &sc->sc_parent->sc_is, map);
+       iommu_dvmamap_unload(t, sc->sc_parent->sc_is, map);
 }
 
 void
@@ -586,7 +586,7 @@
 {
        struct ebus_softc *sc = t->_cookie;
 
-       iommu_dvmamap_sync(t, &sc->sc_parent->sc_is, map, offset, len, ops);
+       iommu_dvmamap_sync(t, sc->sc_parent->sc_is, map, offset, len, ops);
        bus_dmamap_sync(t->_parent, map, offset, len, ops);
 }
 
@@ -603,7 +603,7 @@
 {
        struct ebus_softc *sc = t->_cookie;
 
-       return (iommu_dvmamem_alloc(t, &sc->sc_parent->sc_is, size, alignment,
+       return (iommu_dvmamem_alloc(t, sc->sc_parent->sc_is, size, alignment,
            boundary, segs, nsegs, rsegs, flags));
 }
 
@@ -615,7 +615,7 @@
 {
        struct ebus_softc *sc = t->_cookie;
 
-       iommu_dvmamem_free(t, &sc->sc_parent->sc_is, segs, nsegs);
+       iommu_dvmamem_free(t, sc->sc_parent->sc_is, segs, nsegs);
 }
 
 int
@@ -629,7 +629,7 @@
 {
        struct ebus_softc *sc = t->_cookie;
 
-       return (iommu_dvmamem_map(t, &sc->sc_parent->sc_is, segs, nsegs,
+       return (iommu_dvmamem_map(t, sc->sc_parent->sc_is, segs, nsegs,
            size, kvap, flags));
 }
 
@@ -641,5 +641,5 @@
 {
        struct ebus_softc *sc = t->_cookie;
 
-       iommu_dvmamem_unmap(t, &sc->sc_parent->sc_is, kva, size);
+       iommu_dvmamem_unmap(t, sc->sc_parent->sc_is, kva, size);
 }



Home | Main Index | Thread Index | Old Index