diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-08-23 14:24:59 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-08-23 14:24:59 +0000 |
commit | 3d980d660d66d8a1afa0187a20f482217378a380 (patch) | |
tree | 3bd8b4a13d793507d041cb5694c9f53ae104974a /sys/arch/sparc64 | |
parent | 8ed929de98add940a4939c2b04e15bd6cb05e5bc (diff) |
fix args in stream -> raw conversion.
I just love the knights who say NiH!
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/include/bus.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc64/include/bus.h b/sys/arch/sparc64/include/bus.h index e4102bad7b1..883ca31ec24 100644 --- a/sys/arch/sparc64/include/bus.h +++ b/sys/arch/sparc64/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.3 2001/08/22 20:11:09 art Exp $ */ +/* $OpenBSD: bus.h,v 1.4 2001/08/23 14:24:58 art Exp $ */ /* $NetBSD: bus.h,v 1.28 2001/07/19 15:32:19 thorpej Exp $ */ /*- @@ -1371,13 +1371,13 @@ bus_space_copy_region_stream_8(t, h1, o1, h2, o2, c) /* OpenBSD "raw" wrappers around the NetBSD "stream" methods. */ /* XXXART - I'm lazy so I'll only implement the ones I need. */ #define bus_space_read_raw_multi_2(t, h, o, a, c) \ - bus_space_read_multi_stream_2(t, h, o, (u_int8_t *)(a), c) + bus_space_read_multi_stream_2(t, h, o, (u_int8_t *)(a), c/2) #define bus_space_write_raw_multi_2(t, h, o, a, c) \ - bus_space_write_multi_stream_2(t, h, o, (u_int8_t *)(a), c) + bus_space_write_multi_stream_2(t, h, o, (u_int8_t *)(a), c/2) #define bus_space_read_raw_multi_4(t, h, o, a, c) \ - bus_space_read_multi_stream_4(t, h, o, (u_int8_t *)(a), c) + bus_space_read_multi_stream_4(t, h, o, (u_int8_t *)(a), c/4) #define bus_space_write_raw_multi_4(t, h, o, a, c) \ - bus_space_write_multi_stream_4(t, h, o, (u_int8_t *)(a), c) + bus_space_write_multi_stream_4(t, h, o, (u_int8_t *)(a), c/4) #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t) |