Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mmeye/include Add dummy bus_dma(9) stuff.
details: https://anonhg.NetBSD.org/src/rev/e95fe3ede3dd
branches: trunk
changeset: 763497:e95fe3ede3dd
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Tue Mar 22 05:37:37 2011 +0000
description:
Add dummy bus_dma(9) stuff.
diffstat:
sys/arch/mmeye/include/bus.h | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r de95583916d3 -r e95fe3ede3dd sys/arch/mmeye/include/bus.h
--- a/sys/arch/mmeye/include/bus.h Tue Mar 22 00:04:33 2011 +0000
+++ b/sys/arch/mmeye/include/bus.h Tue Mar 22 05:37:37 2011 +0000
@@ -1,3 +1,26 @@
-/* $NetBSD: bus.h,v 1.1 1999/09/13 10:30:54 itojun Exp $ */
+/* $NetBSD: bus.h,v 1.2 2011/03/22 05:37:37 kiyohara Exp $ */
+
+#ifndef _MMEYE_BUS_H_
+#define _MMEYE_BUS_H_
#include <sh3/bus.h>
+
+/*
+ * Dummy bus_dma(9)
+ * XXXX: mmeye don't use bus_dma.
+ */
+typedef void *bus_dma_tag_t;
+
+typedef struct bus_dma_segment {
+ bus_addr_t ds_addr;
+ bus_size_t ds_len;
+} *bus_dma_segment_t;
+
+typedef struct bus_dmamap {
+ bus_size_t dm_maxsegsz;
+ bus_size_t dm_mapsize;
+ int dm_nsegs;
+ bus_dma_segment_t *dm_segs;
+} *bus_dmamap_t;
+
+#endif /* _MMEYE_BUS_H_ */
Home |
Main Index |
Thread Index |
Old Index