summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2012-08-24 10:05:26 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2012-08-24 10:05:26 +0000
commit579f18de155f4c3604627619871f01745dc4af5b (patch)
tree2b97da4052630809eb378864fda563273228fe9e
parent9b74ae9908c1b2306bae5e7f7ab9ae9ac40d912d (diff)
ansi
-rw-r--r--sys/arch/macppc/include/bus.h26
-rw-r--r--sys/arch/socppc/include/bus.h26
2 files changed, 14 insertions, 38 deletions
diff --git a/sys/arch/macppc/include/bus.h b/sys/arch/macppc/include/bus.h
index 1b616a7aecc..462766c33ef 100644
--- a/sys/arch/macppc/include/bus.h
+++ b/sys/arch/macppc/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.19 2011/09/27 20:47:30 miod Exp $ */
+/* $OpenBSD: bus.h,v 1.20 2012/08/24 10:05:25 jsg Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom. All rights reserved.
@@ -342,12 +342,8 @@ static __inline void bus_space_set_multi_4(bus_space_tag_t,
bus_space_handle_t, bus_size_t, u_int32_t, size_t);
static __inline void
-bus_space_set_multi_1(tag, bsh, offset, val, count)
- bus_space_tag_t tag;
- bus_space_handle_t bsh;
- bus_size_t offset;
- u_int8_t val;
- size_t count;
+bus_space_set_multi_1(bus_space_tag_t tag, bus_space_handle_t bsh,
+ bus_size_t offset, u_int8_t val, size_t count)
{
volatile u_int8_t *d = __BA(tag, bsh, offset);
@@ -357,12 +353,8 @@ bus_space_set_multi_1(tag, bsh, offset, val, count)
}
static __inline void
-bus_space_set_multi_2(tag, bsh, offset, val, count)
- bus_space_tag_t tag;
- bus_space_handle_t bsh;
- bus_size_t offset;
- u_int16_t val;
- size_t count;
+bus_space_set_multi_2(bus_space_tag_t tag, bus_space_handle_t bsh,
+ bus_size_t offset, u_int16_t val, size_t count)
{
volatile u_int16_t *d = __BA(tag, bsh, offset);
@@ -373,12 +365,8 @@ bus_space_set_multi_2(tag, bsh, offset, val, count)
}
static __inline void
-bus_space_set_multi_4(tag, bsh, offset, val, count)
- bus_space_tag_t tag;
- bus_space_handle_t bsh;
- bus_size_t offset;
- u_int32_t val;
- size_t count;
+bus_space_set_multi_4(bus_space_tag_t tag, bus_space_handle_t bsh,
+ bus_size_t offset, u_int32_t val, size_t count)
{
volatile u_int32_t *d = __BA(tag, bsh, offset);
diff --git a/sys/arch/socppc/include/bus.h b/sys/arch/socppc/include/bus.h
index 0261dde0693..26819d53749 100644
--- a/sys/arch/socppc/include/bus.h
+++ b/sys/arch/socppc/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.7 2011/09/27 20:47:30 miod Exp $ */
+/* $OpenBSD: bus.h,v 1.8 2012/08/24 10:05:25 jsg Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom. All rights reserved.
@@ -342,12 +342,8 @@ static __inline void bus_space_set_multi_4(bus_space_tag_t,
bus_space_handle_t, bus_size_t, u_int32_t, size_t);
static __inline void
-bus_space_set_multi_1(tag, bsh, offset, val, count)
- bus_space_tag_t tag;
- bus_space_handle_t bsh;
- bus_size_t offset;
- u_int8_t val;
- size_t count;
+bus_space_set_multi_1(bus_space_tag_t tag, bus_space_handle_t bsh,
+ bus_size_t offset, u_int8_t val, size_t count)
{
volatile u_int8_t *d = __BA(tag, bsh, offset);
@@ -357,12 +353,8 @@ bus_space_set_multi_1(tag, bsh, offset, val, count)
}
static __inline void
-bus_space_set_multi_2(tag, bsh, offset, val, count)
- bus_space_tag_t tag;
- bus_space_handle_t bsh;
- bus_size_t offset;
- u_int16_t val;
- size_t count;
+bus_space_set_multi_2(bus_space_tag_t tag, bus_space_handle_t bsh,
+ bus_size_t offset, u_int16_t val, size_t count)
{
volatile u_int16_t *d = __BA(tag, bsh, offset);
@@ -373,12 +365,8 @@ bus_space_set_multi_2(tag, bsh, offset, val, count)
}
static __inline void
-bus_space_set_multi_4(tag, bsh, offset, val, count)
- bus_space_tag_t tag;
- bus_space_handle_t bsh;
- bus_size_t offset;
- u_int32_t val;
- size_t count;
+bus_space_set_multi_4(bus_space_tag_t tag, bus_space_handle_t bsh,
+ bus_size_t offset, u_int32_t val, size_t count)
{
volatile u_int32_t *d = __BA(tag, bsh, offset);