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 ebus sc_is is a pointer now, already.



details:   https://anonhg.NetBSD.org/src/rev/cb199b74728b
branches:  trunk
changeset: 495401:cb199b74728b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jul 27 14:17:10 2000 +0000

description:
ebus sc_is is a pointer now, already.

diffstat:

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

diffs (70 lines):

diff -r 01f998925f68 -r cb199b74728b sys/arch/sparc64/dev/ebus.c
--- a/sys/arch/sparc64/dev/ebus.c       Thu Jul 27 14:13:50 2000 +0000
+++ b/sys/arch/sparc64/dev/ebus.c       Thu Jul 27 14:17:10 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ebus.c,v 1.16 2000/07/12 21:07:36 pk Exp $     */
+/*     $NetBSD: ebus.c,v 1.17 2000/07/27 14:17:10 mrg Exp $    */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -559,7 +559,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));
 }
 
@@ -570,7 +570,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
@@ -583,7 +583,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);
 }
 
@@ -600,7 +600,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));
 }
 
@@ -612,7 +612,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
@@ -626,7 +626,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));
 }
 
@@ -638,5 +638,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