diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-01-29 03:12:13 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-01-29 03:12:13 +0000 |
commit | df92dff0d3024a19ac44810f2d80b4449ad3762f (patch) | |
tree | 1c49217959156556acde1fdf901f0eceed4bf72d /sys/arch/hppa/include/bus.h | |
parent | c2abbba759635892dae11c86d868f5e6040b3e8a (diff) |
repair busdma calls w/o cookies
Diffstat (limited to 'sys/arch/hppa/include/bus.h')
-rw-r--r-- | sys/arch/hppa/include/bus.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/hppa/include/bus.h b/sys/arch/hppa/include/bus.h index 6fd14c67cbe..44a7cfdc93d 100644 --- a/sys/arch/hppa/include/bus.h +++ b/sys/arch/hppa/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.10 1999/11/26 17:34:59 mickey Exp $ */ +/* $OpenBSD: bus.h,v 1.11 2000/01/29 03:12:12 mickey Exp $ */ /* * Copyright (c) 1998,1999 Michael Shalayeff @@ -360,22 +360,22 @@ struct hppa_bus_dma_tag { }; #define bus_dmamap_create(t, s, n, m, b, f, p) \ - (*(t)->_dmamap_create)((t), (s), (n), (m), (b), (f), (p)) + (*(t)->_dmamap_create)((t)->_cookie, (s), (n), (m), (b), (f), (p)) #define bus_dmamap_destroy(t, p) \ - (*(t)->_dmamap_destroy)((t), (p)) + (*(t)->_dmamap_destroy)((t)->_cookie, (p)) #define bus_dmamap_load(t, m, b, s, p, f) \ - (*(t)->_dmamap_load)((t), (m), (b), (s), (p), (f)) + (*(t)->_dmamap_load)((t)->_cookie, (m), (b), (s), (p), (f)) #define bus_dmamap_load_mbuf(t, m, b, f) \ - (*(t)->_dmamap_load_mbuf)((t), (m), (b), (f)) + (*(t)->_dmamap_load_mbuf)((t)->_cookie, (m), (b), (f)) #define bus_dmamap_load_uio(t, m, u, f) \ - (*(t)->_dmamap_load_uio)((t), (m), (u), (f)) + (*(t)->_dmamap_load_uio)((t)->_cookie, (m), (u), (f)) #define bus_dmamap_load_raw(t, m, sg, n, s, f) \ - (*(t)->_dmamap_load_raw)((t), (m), (sg), (n), (s), (f)) + (*(t)->_dmamap_load_raw)((t)->_cookie, (m), (sg), (n), (s), (f)) #define bus_dmamap_unload(t, p) \ - (*(t)->_dmamap_unload)((t), (p)) + (*(t)->_dmamap_unload)((t)->_cookie, (p)) #define bus_dmamap_sync(t, p, o) \ (void)((t)->_dmamap_sync ? \ - (*(t)->_dmamap_sync)((t), (p), (o)) : (void)0) + (*(t)->_dmamap_sync)((t)->_cookie, (p), (o)) : (void)0) #define bus_dmamem_alloc(t, s, a, b, sg, n, r, f) \ (*(t)->_dmamem_alloc)((t)->_cookie, (s), (a), (b), (sg), (n), (r), (f)) |