Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/alpha/include Pull up revision 1.41 -- Approve...
details: https://anonhg.NetBSD.org/src/rev/f4edaa8cd43e
branches: netbsd-1-5
changeset: 488889:f4edaa8cd43e
user: briggs <briggs%NetBSD.org@localhost>
date: Sun Aug 06 02:02:46 2000 +0000
description:
Pull up revision 1.41 -- Approved by thorpej --
Define bus_space_*_stream_N functions as their non-stream counterparts.
diffstat:
sys/arch/alpha/include/bus.h | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diffs (45 lines):
diff -r fdd35858249e -r f4edaa8cd43e sys/arch/alpha/include/bus.h
--- a/sys/arch/alpha/include/bus.h Sun Aug 06 02:01:59 2000 +0000
+++ b/sys/arch/alpha/include/bus.h Sun Aug 06 02:02:46 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.39.2.1 2000/06/30 16:27:13 simonb Exp $ */
+/* $NetBSD: bus.h,v 1.39.2.2 2000/08/06 02:02:46 briggs Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -454,6 +454,35 @@
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
__abs_copy(8, u_int64_t, (t), (h1), (o1), (h2), (o2), (c))
+/*
+ * Bus stream operations--defined in terms of non-stream counterparts
+ */
+#define __BUS_SPACE_HAS_STREAM_METHODS 1
+#define bus_space_read_stream_1 bus_space_read_1
+#define bus_space_read_stream_2 bus_space_read_2
+#define bus_space_read_stream_4 bus_space_read_4
+#define bus_space_read_stream_8 bus_space_read_8
+#define bus_space_read_multi_stream_1 bus_space_read_multi_1
+#define bus_space_read_multi_stream_2 bus_space_read_multi_2
+#define bus_space_read_multi_stream_4 bus_space_read_multi_4
+#define bus_space_read_multi_stream_8 bus_space_read_multi_8
+#define bus_space_read_region_stream_1 bus_space_read_region_1
+#define bus_space_read_region_stream_2 bus_space_read_region_2
+#define bus_space_read_region_stream_4 bus_space_read_region_4
+#define bus_space_read_region_stream_8 bus_space_read_region_8
+#define bus_space_write_stream_1 bus_space_write_1
+#define bus_space_write_stream_2 bus_space_write_2
+#define bus_space_write_stream_4 bus_space_write_4
+#define bus_space_write_stream_8 bus_space_write_8
+#define bus_space_write_multi_stream_1 bus_space_write_multi_1
+#define bus_space_write_multi_stream_2 bus_space_write_multi_2
+#define bus_space_write_multi_stream_4 bus_space_write_multi_4
+#define bus_space_write_multi_stream_8 bus_space_write_multi_8
+#define bus_space_write_region_stream_1 bus_space_write_region_1
+#define bus_space_write_region_stream_2 bus_space_write_region_2
+#define bus_space_write_region_stream_4 bus_space_write_region_4
+#define bus_space_write_region_stream_8 bus_space_write_region_8
+
/*
* Bus DMA methods.
Home |
Main Index |
Thread Index |
Old Index