diff options
author | scottl <scottl@FreeBSD.org> | 2003-01-29 17:41:29 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2003-01-29 17:41:29 +0000 |
commit | d9bd56452d509a28ab6a2dbe1aaeefe4462b1601 (patch) | |
tree | a3bec54424dcdd709e462fadd85c8883ac950fa3 /sys/sparc64/sbus | |
parent | 6962d02957b5fa66a727f89d2131a673d1a83c7a (diff) | |
download | FreeBSD-src-d9bd56452d509a28ab6a2dbe1aaeefe4462b1601.zip FreeBSD-src-d9bd56452d509a28ab6a2dbe1aaeefe4462b1601.tar.gz |
Fix some more missing dt_ prefixes for dma tag fields.
Diffstat (limited to 'sys/sparc64/sbus')
-rw-r--r-- | sys/sparc64/sbus/sbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/sbus/sbus.c b/sys/sparc64/sbus/sbus.c index 2689090..9df93a7 100644 --- a/sys/sparc64/sbus/sbus.c +++ b/sys/sparc64/sbus/sbus.c @@ -997,7 +997,7 @@ static int sbus_dmamem_alloc_size(bus_dma_tag_t pdmat, bus_dma_tag_t ddmat, void **vaddr, int flags, bus_dmamap_t *mapp, bus_size_t size) { - struct sbus_softc *sc = (struct sbus_softc *)pdmat->cookie; + struct sbus_softc *sc = (struct sbus_softc *)pdmat->dt_cookie; return (iommu_dvmamem_alloc_size(pdmat, ddmat, &sc->sc_is, vaddr, flags, mapp, size)); @@ -1017,7 +1017,7 @@ static void sbus_dmamem_free_size(bus_dma_tag_t pdmat, bus_dma_tag_t ddmat, void *vaddr, bus_dmamap_t map, bus_size_t size) { - struct sbus_softc *sc = (struct sbus_softc *)pdmat->cookie; + struct sbus_softc *sc = (struct sbus_softc *)pdmat->dt_cookie; iommu_dvmamem_free_size(pdmat, ddmat, &sc->sc_is, vaddr, map, size); } |