diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-10 15:45:26 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-10 15:45:26 +0000 |
commit | 0af36d3fecd2b3497408ef4692aa7634e57a04c0 (patch) | |
tree | 6f127f8c01b1906c9a17d650546f2d4de22ec407 /sys | |
parent | a802f75507fbff48fa375268d00469f1d2c16997 (diff) |
__C -> __abs_c for consistency with usage in tc_*
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/tc/tc_bus_mem.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/arch/alpha/tc/tc_bus_mem.c b/sys/arch/alpha/tc/tc_bus_mem.c index f1fe7f6b7ae..f5dfda85819 100644 --- a/sys/arch/alpha/tc/tc_bus_mem.c +++ b/sys/arch/alpha/tc/tc_bus_mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tc_bus_mem.c,v 1.8 1997/04/10 03:01:05 millert Exp $ */ +/* $OpenBSD: tc_bus_mem.c,v 1.9 1997/04/10 15:45:25 millert Exp $ */ /* $NetBSD: tc_bus_mem.c,v 1.13 1996/12/02 22:19:34 cgd Exp $ */ /* @@ -42,8 +42,6 @@ #include <machine/bus.h> #include <dev/tc/tcvar.h> -#define __C(A,B) __CONCAT(A,B) - /* mapping/unmapping */ int tc_mem_map __P((void *, bus_addr_t, bus_size_t, int, bus_space_handle_t *)); @@ -643,7 +641,7 @@ tc_mem_copy_N(8) #define tc_mem_read_raw_multi_N(BYTES,TYPE) \ void \ -__C(tc_mem_read_raw_multi_,BYTES)(v, h, o, a, c) \ +__abs_c(tc_mem_read_raw_multi_,BYTES)(v, h, o, a, c) \ void *v; \ bus_space_handle_t h; \ bus_size_t o, c; \ @@ -654,7 +652,7 @@ __C(tc_mem_read_raw_multi_,BYTES)(v, h, o, a, c) \ \ while (c > 0) { \ tc_mem_barrier(v, h, o, BYTES, BUS_BARRIER_READ); \ - temp = __C(tc_mem_read_,BYTES)(v, h, o); \ + temp = __abs_c(tc_mem_read_,BYTES)(v, h, o); \ for (i = 0; i < BYTES; i++) { \ *a++ = temp & 0xff; \ temp >>= 8; \ @@ -668,7 +666,7 @@ tc_mem_read_raw_multi_N(8,u_int64_t) #define tc_mem_write_raw_multi_N(BYTES,TYPE) \ void \ -__C(tc_mem_write_raw_multi_,BYTES)(v, h, o, a, c) \ +__abs_c(tc_mem_write_raw_multi_,BYTES)(v, h, o, a, c) \ void *v; \ bus_space_handle_t h; \ bus_size_t o, c; \ @@ -683,7 +681,7 @@ __C(tc_mem_write_raw_multi_,BYTES)(v, h, o, a, c) \ temp <<= 8; \ temp |= *(a + i); \ } \ - __C(tc_mem_write_,BYTES)(v, h, o, temp); \ + __abs_c(tc_mem_write_,BYTES)(v, h, o, temp); \ tc_mem_barrier(v, h, o, BYTES, BUS_BARRIER_WRITE); \ c -= BYTES; \ a += BYTES; \ |