summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-16 02:21:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-16 02:21:57 +0000
commiteadcff049d974abe9350fd75e593d967e45a3c55 (patch)
treef1f8fd841002aa5d415533d123a5ba696a28349e /sys/arch/hppa/include
parent12acc88e100b6f8b64ad0526f76e907c1b9cfc97 (diff)
implement a few dma methods; from fredette@. some fixes from me
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r--sys/arch/hppa/include/bus.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/bus.h b/sys/arch/hppa/include/bus.h
index 4465645ca40..f965c60e552 100644
--- a/sys/arch/hppa/include/bus.h
+++ b/sys/arch/hppa/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.14 2001/11/05 17:25:57 art Exp $ */
+/* $OpenBSD: bus.h,v 1.15 2002/02/16 02:21:56 mickey Exp $ */
/*
* Copyright (c) 1998,1999 Michael Shalayeff
@@ -403,6 +403,7 @@ struct hppa_bus_dmamap {
bus_size_t _dm_maxsegsz; /* largest possible segment */
bus_size_t _dm_boundary; /* don't cross this */
int _dm_flags; /* misc. flags */
+ vaddr_t _dm_va; /* needed for syncing */
void *_dm_cookie; /* cookie for bus-specific functions */
@@ -411,6 +412,7 @@ struct hppa_bus_dmamap {
*/
int dm_nsegs; /* # valid segments in mapping */
bus_dma_segment_t dm_segs[1]; /* segments; variable length */
+ bus_size_t dm_mapsize; /* size of the mapping */
};
#endif /* _MACHINE_BUS_H_ */