Module Name: src Committed By: christos Date: Sat Jan 23 19:38:08 UTC 2021
Modified Files: src/sys/arch/emips/include: bus.h src/sys/arch/evbcf/include: bus_space.h src/sys/arch/hp300/include: bus.h src/sys/arch/luna68k/include: bus.h src/sys/arch/mac68k/include: bus.h src/sys/arch/mvme68k/include: bus_space.h src/sys/arch/news68k/include: bus.h src/sys/arch/newsmips/include: bus.h src/sys/arch/next68k/include: bus_space.h src/sys/arch/vax/include: bus.h Log Message: Remove cargo-culted '#if 0' code that was designed to produce a compile-time error if any of the bus_space_*_8 functions was used, but was documented that it produces a link-time error. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/emips/include/bus.h cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbcf/include/bus_space.h cvs rdiff -u -r1.20 -r1.21 src/sys/arch/hp300/include/bus.h cvs rdiff -u -r1.15 -r1.16 src/sys/arch/luna68k/include/bus.h cvs rdiff -u -r1.29 -r1.30 src/sys/arch/mac68k/include/bus.h cvs rdiff -u -r1.16 -r1.17 src/sys/arch/mvme68k/include/bus_space.h cvs rdiff -u -r1.11 -r1.12 src/sys/arch/news68k/include/bus.h cvs rdiff -u -r1.22 -r1.23 src/sys/arch/newsmips/include/bus.h cvs rdiff -u -r1.18 -r1.19 src/sys/arch/next68k/include/bus_space.h cvs rdiff -u -r1.35 -r1.36 src/sys/arch/vax/include/bus.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/emips/include/bus.h diff -u src/sys/arch/emips/include/bus.h:1.4 src/sys/arch/emips/include/bus.h:1.5 --- src/sys/arch/emips/include/bus.h:1.4 Thu Apr 2 11:30:26 2020 +++ src/sys/arch/emips/include/bus.h Sat Jan 23 14:38:07 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.4 2020/04/02 15:30:26 msaitoh Exp $ */ +/* $NetBSD: bus.h,v 1.5 2021/01/23 19:38:07 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc. @@ -143,10 +143,6 @@ void bus_space_free(bus_space_tag_t t, b #define bus_space_read_4(t, h, o) \ ((void) t, (*(volatile u_int32_t *)((h) + (o)))) -#if 0 /* Cause a link error for bus_space_read_8 */ -#define bus_space_read_8(t, h, o) !!! bus_space_read_8 unimplemented !!! -#endif - /* * void bus_space_read_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -178,10 +174,6 @@ __EMIPS_bus_space_read_multi(1,8) __EMIPS_bus_space_read_multi(2,16) __EMIPS_bus_space_read_multi(4,32) -#if 0 /* Cause a link error for bus_space_read_multi_8 */ -#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!! -#endif - #undef __EMIPS_bus_space_read_multi /* @@ -218,10 +210,6 @@ __EMIPS_bus_space_read_region(1,8) __EMIPS_bus_space_read_region(2,16) __EMIPS_bus_space_read_region(4,32) -#if 0 /* Cause a link error for bus_space_read_region_8 */ -#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!! -#endif - #undef __EMIPS_bus_space_read_region /* @@ -254,10 +242,6 @@ do { \ wbflush(); /* XXX */ \ } while (0) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_8 !!! bus_space_write_8 not implemented !!! -#endif - /* * void bus_space_write_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -289,11 +273,6 @@ __EMIPS_bus_space_write_multi(1,8) __EMIPS_bus_space_write_multi(2,16) __EMIPS_bus_space_write_multi(4,32) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_multi_8(t, h, o, a, c) \ - !!! bus_space_write_multi_8 unimplemented !!! -#endif - #undef __EMIPS_bus_space_write_multi /* @@ -329,11 +308,6 @@ __EMIPS_bus_space_write_region(1,8) __EMIPS_bus_space_write_region(2,16) __EMIPS_bus_space_write_region(4,32) -#if 0 /* Cause a link error for bus_space_write_region_8 */ -#define bus_space_write_region_8 \ - !!! bus_space_write_region_8 unimplemented !!! -#endif - #undef __EMIPS_bus_space_write_region /* @@ -367,11 +341,6 @@ __EMIPS_bus_space_set_multi(1,8) __EMIPS_bus_space_set_multi(2,16) __EMIPS_bus_space_set_multi(4,32) -#if 0 /* Cause a link error for bus_space_set_multi_8 */ -#define bus_space_set_multi_8 \ - !!! bus_space_set_multi_8 unimplemented !!! -#endif - #undef __EMIPS_bus_space_set_multi /* @@ -407,11 +376,6 @@ __EMIPS_bus_space_set_region(1,8) __EMIPS_bus_space_set_region(2,16) __EMIPS_bus_space_set_region(4,32) -#if 0 /* Cause a link error for bus_space_set_region_8 */ -#define bus_space_set_region_8 \ - !!! bus_space_set_region_8 unimplemented !!! -#endif - #undef __EMIPS_bus_space_set_region /* @@ -459,11 +423,6 @@ __EMIPS_copy_region(1) __EMIPS_copy_region(2) __EMIPS_copy_region(4) -#if 0 /* Cause a link error for bus_space_copy_region_8 */ -#define bus_space_copy_region_8 \ - !!! bus_space_copy_region_8 unimplemented !!! -#endif - #undef __EMIPS_copy_region /* Index: src/sys/arch/evbcf/include/bus_space.h diff -u src/sys/arch/evbcf/include/bus_space.h:1.4 src/sys/arch/evbcf/include/bus_space.h:1.5 --- src/sys/arch/evbcf/include/bus_space.h:1.4 Thu Apr 2 11:30:26 2020 +++ src/sys/arch/evbcf/include/bus_space.h Sat Jan 23 14:38:07 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bus_space.h,v 1.4 2020/04/02 15:30:26 msaitoh Exp $ */ +/* $NetBSD: bus_space.h,v 1.5 2021/01/23 19:38:07 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -171,11 +171,6 @@ struct mvme68k_bus_space_tag { #define bus_space_peek_4(t, h, o, vp) \ (*((t)->bs_peek_4))((t)->bs_cookie, (h), (o), (vp)) -#if 0 /* Cause a link error for bus_space_peek_8 */ -#define bus_space_peek_8(t, h, o, vp) \ - (*((t)->bs_peek_8))((t)->bs_cookie, (h), (o), (vp)) -#endif - /* * int bus_space_poke_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, uintN_t value); @@ -194,11 +189,6 @@ struct mvme68k_bus_space_tag { #define bus_space_poke_4(t, h, o, v) \ (*((t)->bs_poke_4))((t)->bs_cookie, (h), (o), (v)) -#if 0 /* Cause a link error for bus_space_poke_8 */ -#define bus_space_poke_8(t, h, o, v) \ - (*((t)->bs_poke_8))((t)->bs_cookie, (h), (o), (v)) -#endif - /* * uintN_t bus_space_read_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset); @@ -264,10 +254,6 @@ struct mvme68k_bus_space_tag { "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_read_multi_8 */ -#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!! -#endif - /* * void bus_space_read_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -320,10 +306,6 @@ struct mvme68k_bus_space_tag { "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_read_region_8 */ -#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!! -#endif - /* * void bus_space_write_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -396,11 +378,6 @@ struct mvme68k_bus_space_tag { "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_multi_8(t, h, o, a, c) \ - !!! bus_space_write_multi_8 unimplemented !!! -#endif - /* * void bus_space_write_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -452,11 +429,6 @@ struct mvme68k_bus_space_tag { "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_write_region_8 */ -#define bus_space_write_region_8 \ - !!! bus_space_write_region_8 unimplemented !!! -#endif - /* * void bus_space_set_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, uintN_t val, @@ -508,11 +480,6 @@ struct mvme68k_bus_space_tag { "a0","d0","d1"); \ } while (0); -#if 0 /* Cause a link error for bus_space_set_multi_8 */ -#define bus_space_set_multi_8 \ - !!! bus_space_set_multi_8 unimplemented !!! -#endif - /* * void bus_space_set_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, uintN_t val, @@ -564,11 +531,6 @@ struct mvme68k_bus_space_tag { "a0","d0","d1"); \ } while (0); -#if 0 /* Cause a link error for bus_space_set_region_8 */ -#define bus_space_set_region_8 \ - !!! bus_space_set_region_8 unimplemented !!! -#endif - /* * void bus_space_copy_N(bus_space_tag_t tag, * bus_space_handle_t bsh1, bus_size_t off1, @@ -612,10 +574,6 @@ __CONCAT(bus_space_copy_region_,BYTES)( __COLDFIRE_copy_region_N(1) __COLDFIRE_copy_region_N(2) __COLDFIRE_copy_region_N(4) -#if 0 /* Cause a link error for bus_space_copy_8 */ -#define bus_space_copy_8 \ - !!! bus_space_copy_8 unimplemented !!! -#endif #undef __COLDFIRE_copy_region_N Index: src/sys/arch/hp300/include/bus.h diff -u src/sys/arch/hp300/include/bus.h:1.20 src/sys/arch/hp300/include/bus.h:1.21 --- src/sys/arch/hp300/include/bus.h:1.20 Thu Apr 2 11:30:26 2020 +++ src/sys/arch/hp300/include/bus.h Sat Jan 23 14:38:07 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.20 2020/04/02 15:30:26 msaitoh Exp $ */ +/* $NetBSD: bus.h,v 1.21 2021/01/23 19:38:07 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -243,10 +243,6 @@ int hp300_bus_space_probe(bus_space_tag_ (((t)->bsr4 != NULL) ? ((t)->bsr4)(t, h, o) : \ (*(volatile uint32_t *)((h) + (o)))) -#if 0 /* Cause a link error for bus_space_read_8 */ -#define bus_space_read_8(t, h, o) !!! bus_space_read_8 unimplemented !!! -#endif - /* * void bus_space_read_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -309,10 +305,6 @@ do { \ } \ } while (/* CONSTCOND */ 0) -#if 0 /* Cause a link error for bus_space_read_multi_8 */ -#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!! -#endif - /* * void bus_space_read_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -377,10 +369,6 @@ do { \ } \ } while (/* CONSTCOND */ 0) -#if 0 /* Cause a link error for bus_space_read_region_8 */ -#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!! -#endif - /* * void bus_space_write_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -414,10 +402,6 @@ do { \ ((void)(*(volatile uint32_t *)((h) + (o)) = (v))); \ } while (/* CONSTCOND */ 0) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_8 !!! bus_space_write_8 not implemented !!! -#endif - /* * void bus_space_write_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -482,11 +466,6 @@ do { \ } \ } while (/* CONSTCOND */ 0) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_multi_8(t, h, o, a, c) \ - !!! bus_space_write_multi_8 unimplemented !!! -#endif - /* * void bus_space_write_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -550,11 +529,6 @@ do { \ } \ } while (/* CONSTCOND */ 0) -#if 0 /* Cause a link error for bus_space_write_region_8 */ -#define bus_space_write_region_8 \ - !!! bus_space_write_region_8 unimplemented !!! -#endif - /* * void bus_space_set_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, u_intN_t val, @@ -618,11 +592,6 @@ do { \ } \ } while (/* CONSTCOND */ 0) -#if 0 /* Cause a link error for bus_space_set_multi_8 */ -#define bus_space_set_multi_8 \ - !!! bus_space_set_multi_8 unimplemented !!! -#endif - /* * void bus_space_set_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, u_intN_t val, @@ -687,11 +656,6 @@ do { \ } \ } while (/* CONSTCOND */ 0) -#if 0 /* Cause a link error for bus_space_set_region_8 */ -#define bus_space_set_region_8 \ - !!! bus_space_set_region_8 unimplemented !!! -#endif - /* * void bus_space_copy_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh1, bus_size_t off1, @@ -725,10 +689,6 @@ __CONCAT(bus_space_copy_region_,BYTES)(b __HP300_copy_region_N(1) __HP300_copy_region_N(2) __HP300_copy_region_N(4) -#if 0 /* Cause a link error for bus_space_copy_region_8 */ -#define bus_space_copy_region_8 \ - !!! bus_space_copy_region_8 unimplemented !!! -#endif #undef __HP300_copy_region_N Index: src/sys/arch/luna68k/include/bus.h diff -u src/sys/arch/luna68k/include/bus.h:1.15 src/sys/arch/luna68k/include/bus.h:1.16 --- src/sys/arch/luna68k/include/bus.h:1.15 Thu Apr 2 11:30:26 2020 +++ src/sys/arch/luna68k/include/bus.h Sat Jan 23 14:38:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.15 2020/04/02 15:30:26 msaitoh Exp $ */ +/* $NetBSD: bus.h,v 1.16 2021/01/23 19:38:08 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -157,10 +157,6 @@ void bus_space_free(bus_space_tag_t t, b #define bus_space_read_4(t, h, o) \ ((void) t, (*(volatile u_int32_t *)((h) + (o)))) -#if 0 /* Cause a link error for bus_space_read_8 */ -#define bus_space_read_8(t, h, o) !!! bus_space_read_8 unimplemented !!! -#endif - /* * void bus_space_read_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -212,10 +208,6 @@ void bus_space_free(bus_space_tag_t t, b "a0","a1","d0"); \ } while (0) -#if 0 /* Cause a link error for bus_space_read_multi_8 */ -#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!! -#endif - /* * void bus_space_read_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -270,10 +262,6 @@ void bus_space_free(bus_space_tag_t t, b "a0","a1","d0"); \ } while (0) -#if 0 /* Cause a link error for bus_space_read_region_8 */ -#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!! -#endif - /* * void bus_space_write_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -292,10 +280,6 @@ void bus_space_free(bus_space_tag_t t, b #define bus_space_write_4(t, h, o, v) \ ((void) t, ((void)(*(volatile u_int32_t *)((h) + (o)) = (v)))) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_8 !!! bus_space_write_8 not implemented !!! -#endif - /* * void bus_space_write_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -347,11 +331,6 @@ void bus_space_free(bus_space_tag_t t, b "a0","a1","d0"); \ } while (0) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_multi_8(t, h, o, a, c) \ - !!! bus_space_write_multi_8 unimplemented !!! -#endif - /* * void bus_space_write_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -405,11 +384,6 @@ void bus_space_free(bus_space_tag_t t, b "a0","a1","d0"); \ } while (0) -#if 0 /* Cause a link error for bus_space_write_region_8 */ -#define bus_space_write_region_8 \ - !!! bus_space_write_region_8 unimplemented !!! -#endif - /* * void bus_space_set_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, u_intN_t val, @@ -464,11 +438,6 @@ void bus_space_free(bus_space_tag_t t, b "a0","d0","d1"); \ } while (0) -#if 0 /* Cause a link error for bus_space_set_multi_8 */ -#define bus_space_set_multi_8 \ - !!! bus_space_set_multi_8 unimplemented !!! -#endif - /* * void bus_space_set_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, u_intN_t val, @@ -525,11 +494,6 @@ void bus_space_free(bus_space_tag_t t, b "a0","d0","d1"); \ } while (0) -#if 0 /* Cause a link error for bus_space_set_region_8 */ -#define bus_space_set_region_8 \ - !!! bus_space_set_region_8 unimplemented !!! -#endif - /* * void bus_space_copy_N(bus_space_tag_t tag, * bus_space_handle_t bsh1, bus_size_t off1, @@ -573,10 +537,6 @@ __CONCAT(bus_space_copy_region_,BYTES)( __MACHINE_copy_region_N(1) __MACHINE_copy_region_N(2) __MACHINE_copy_region_N(4) -#if 0 /* Cause a link error for bus_space_copy_8 */ -#define bus_space_copy_8 \ - !!! bus_space_copy_8 unimplemented !!! -#endif #undef __MACHINE_copy_region_N Index: src/sys/arch/mac68k/include/bus.h diff -u src/sys/arch/mac68k/include/bus.h:1.29 src/sys/arch/mac68k/include/bus.h:1.30 --- src/sys/arch/mac68k/include/bus.h:1.29 Thu Apr 2 11:30:26 2020 +++ src/sys/arch/mac68k/include/bus.h Sat Jan 23 14:38:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.29 2020/04/02 15:30:26 msaitoh Exp $ */ +/* $NetBSD: bus.h,v 1.30 2021/01/23 19:38:08 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -266,12 +266,6 @@ u_int32_t mac68k_bsrs4_gen(bus_space_tag #define bus_space_read_stream_2(t,h,o) (h).bsrs2((t), &(h), (o)) #define bus_space_read_stream_4(t,h,o) (h).bsrs4((t), &(h), (o)) -#if 0 /* Cause a link error for bus_space_read_8 */ -#define bus_space_read_8(t, h, o) !!! bus_space_read_8 unimplemented !!! -#define bus_space_read_stream_8(t, h, o) \ - !!! bus_space_read_stream_8 unimplemented !!! -#endif - /* * void bus_space_read_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, u_intN_t *addr, @@ -344,12 +338,6 @@ void mac68k_bsrms4_gen(bus_space_tag_t, do { if (c) (h).bsrms4(t, &(h), o, a, c); } while (0) #endif -#if 0 /* Cause a link error for bus_space_read_multi_8 */ -#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!! -#define bus_space_read_multi_stream_8 \ - !!! bus_space_read_multi_stream_8 unimplemented !!! -#endif - /* * void bus_space_read_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -421,12 +409,6 @@ void mac68k_bsrrs4_gen(bus_space_tag_t, do { if (c) (h).bsrrs4(t,&(h),o,a,c); } while (0) #endif -#if 0 /* Cause a link error for bus_space_read_region_8 */ -#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!! -#define bus_space_read_region_stream_8 \ - !!! bus_space_read_region_stream_8 unimplemented !!! -#endif - /* * void bus_space_write_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, u_intN_t value); @@ -460,12 +442,6 @@ void mac68k_bsws4_gen(bus_space_tag_t, b #define bus_space_write_stream_2(t, h, o, v) (h).bsws2(t, &(h), o, v) #define bus_space_write_stream_4(t, h, o, v) (h).bsws4(t, &(h), o, v) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_8 !!! bus_space_write_8 not implemented !!! -#define bus_space_write_stream_8 \ - !!! bus_space_write_stream_8 not implemented !!! -#endif - /* * void bus_space_write_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, const u_intN_t *addr, @@ -536,13 +512,6 @@ void mac68k_bswms4_gen(bus_space_tag_t, do { if (c) (h).bswms4(t, &(h), o, a, c); } while (0) #endif -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_multi_8(t, h, o, a, c) \ - !!! bus_space_write_multi_8 unimplemented !!! -#define bus_space_write_multi_stream_8(t, h, o, a, c) \ - !!! bus_space_write_multi_stream_8 unimplemented !!! -#endif - /* * void bus_space_write_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, const u_intN_t *addr, @@ -613,13 +582,6 @@ void mac68k_bswrs4_gen(bus_space_tag_t, do { if (c) (h).bswrs4(t,&(h),o,a,c); } while (0) #endif -#if 0 /* Cause a link error for bus_space_write_region_8 */ -#define bus_space_write_region_8 \ - !!! bus_space_write_region_8 unimplemented !!! -#define bus_space_write_region_stream_8 \ - !!! bus_space_write_region_stream_8 unimplemented !!! -#endif - /* * void bus_space_set_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, u_intN_t val, @@ -668,11 +630,6 @@ void mac68k_bssm4_gen(bus_space_tag_t, b do { if (c) (h).bssm4(t,&(h),o,val,c); } while (0) #endif -#if 0 /* Cause a link error for bus_space_set_multi_8 */ -#define bus_space_set_multi_8 \ - !!! bus_space_set_multi_8 unimplemented !!! -#endif - /* * void bus_space_set_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t, u_intN_t val, @@ -721,11 +678,6 @@ void mac68k_bssr4_gen(bus_space_tag_t, b do { if (c) (h).bssr4(t,&(h),o,val,c); } while (0) #endif -#if 0 /* Cause a link error for bus_space_set_region_8 */ -#define bus_space_set_region_8 \ - !!! bus_space_set_region_8 unimplemented !!! -#endif - /* * void bus_space_copy_N(bus_space_tag_t tag, * bus_space_handle_t bsh1, bus_size_t off1, @@ -768,10 +720,6 @@ __CONCAT(bus_space_copy_region_,BYTES)( __MAC68K_copy_region_N(1) __MAC68K_copy_region_N(2) __MAC68K_copy_region_N(4) -#if 0 /* Cause a link error for bus_space_copy_8 */ -#define bus_space_copy_8 \ - !!! bus_space_copy_8 unimplemented !!! -#endif #undef __MAC68K_copy_region_N Index: src/sys/arch/mvme68k/include/bus_space.h diff -u src/sys/arch/mvme68k/include/bus_space.h:1.16 src/sys/arch/mvme68k/include/bus_space.h:1.17 --- src/sys/arch/mvme68k/include/bus_space.h:1.16 Thu Apr 2 11:30:26 2020 +++ src/sys/arch/mvme68k/include/bus_space.h Sat Jan 23 14:38:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bus_space.h,v 1.16 2020/04/02 15:30:26 msaitoh Exp $ */ +/* $NetBSD: bus_space.h,v 1.17 2021/01/23 19:38:08 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -174,11 +174,6 @@ struct mvme68k_bus_space_tag { #define bus_space_peek_4(t, h, o, vp) \ (*((t)->bs_peek_4))((t)->bs_cookie, (h), (o), (vp)) -#if 0 /* Cause a link error for bus_space_peek_8 */ -#define bus_space_peek_8(t, h, o, vp) \ - (*((t)->bs_peek_8))((t)->bs_cookie, (h), (o), (vp)) -#endif - /* * int bus_space_poke_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, uintN_t value); @@ -197,11 +192,6 @@ struct mvme68k_bus_space_tag { #define bus_space_poke_4(t, h, o, v) \ (*((t)->bs_poke_4))((t)->bs_cookie, (h), (o), (v)) -#if 0 /* Cause a link error for bus_space_poke_8 */ -#define bus_space_poke_8(t, h, o, v) \ - (*((t)->bs_poke_8))((t)->bs_cookie, (h), (o), (v)) -#endif - /* * uintN_t bus_space_read_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset); @@ -267,10 +257,6 @@ struct mvme68k_bus_space_tag { "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_read_multi_8 */ -#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!! -#endif - /* * void bus_space_read_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -323,10 +309,6 @@ struct mvme68k_bus_space_tag { "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_read_region_8 */ -#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!! -#endif - /* * void bus_space_write_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -399,11 +381,6 @@ struct mvme68k_bus_space_tag { "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_multi_8(t, h, o, a, c) \ - !!! bus_space_write_multi_8 unimplemented !!! -#endif - /* * void bus_space_write_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -455,11 +432,6 @@ struct mvme68k_bus_space_tag { "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_write_region_8 */ -#define bus_space_write_region_8 \ - !!! bus_space_write_region_8 unimplemented !!! -#endif - /* * void bus_space_set_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, uintN_t val, @@ -511,11 +483,6 @@ struct mvme68k_bus_space_tag { "a0","d0","d1"); \ } while (0); -#if 0 /* Cause a link error for bus_space_set_multi_8 */ -#define bus_space_set_multi_8 \ - !!! bus_space_set_multi_8 unimplemented !!! -#endif - /* * void bus_space_set_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, uintN_t val, @@ -567,11 +534,6 @@ struct mvme68k_bus_space_tag { "a0","d0","d1"); \ } while (0); -#if 0 /* Cause a link error for bus_space_set_region_8 */ -#define bus_space_set_region_8 \ - !!! bus_space_set_region_8 unimplemented !!! -#endif - /* * void bus_space_copy_N(bus_space_tag_t tag, * bus_space_handle_t bsh1, bus_size_t off1, @@ -615,10 +577,6 @@ __CONCAT(bus_space_copy_region_,BYTES)( __MVME68K_copy_region_N(1) __MVME68K_copy_region_N(2) __MVME68K_copy_region_N(4) -#if 0 /* Cause a link error for bus_space_copy_8 */ -#define bus_space_copy_8 \ - !!! bus_space_copy_8 unimplemented !!! -#endif #undef __MVME68K_copy_region_N Index: src/sys/arch/news68k/include/bus.h diff -u src/sys/arch/news68k/include/bus.h:1.11 src/sys/arch/news68k/include/bus.h:1.12 --- src/sys/arch/news68k/include/bus.h:1.11 Thu Apr 2 11:30:27 2020 +++ src/sys/arch/news68k/include/bus.h Sat Jan 23 14:38:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.11 2020/04/02 15:30:27 msaitoh Exp $ */ +/* $NetBSD: bus.h,v 1.12 2021/01/23 19:38:08 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -173,10 +173,6 @@ int news68k_bus_space_probe(bus_space_ta #define bus_space_read_4(t, h, o) \ ((void) t, (*(volatile uint32_t *)((h) + (o)))) -#if 0 /* Cause a link error for bus_space_read_8 */ -#define bus_space_read_8(t, h, o) !!! bus_space_read_8 unimplemented !!! -#endif - /* * void bus_space_read_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -228,10 +224,6 @@ int news68k_bus_space_probe(bus_space_ta "%a0","%a1","%d0"); \ } while (0) -#if 0 /* Cause a link error for bus_space_read_multi_8 */ -#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!! -#endif - /* * void bus_space_read_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -284,10 +276,6 @@ int news68k_bus_space_probe(bus_space_ta "%a0","%a1","%d0"); \ } while (0) -#if 0 /* Cause a link error for bus_space_read_region_8 */ -#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!! -#endif - /* * void bus_space_write_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -306,10 +294,6 @@ int news68k_bus_space_probe(bus_space_ta #define bus_space_write_4(t, h, o, v) \ ((void) t, ((void)(*(volatile uint32_t *)((h) + (o)) = (v)))) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_8 !!! bus_space_write_8 not implemented !!! -#endif - /* * void bus_space_write_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -361,11 +345,6 @@ int news68k_bus_space_probe(bus_space_ta "%a0","%a1","%d0"); \ } while (0) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_multi_8(t, h, o, a, c) \ - !!! bus_space_write_multi_8 unimplemented !!! -#endif - /* * void bus_space_write_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -417,11 +396,6 @@ int news68k_bus_space_probe(bus_space_ta "%a0","%a1","%d0"); \ } while (0) -#if 0 /* Cause a link error for bus_space_write_region_8 */ -#define bus_space_write_region_8 \ - !!! bus_space_write_region_8 unimplemented !!! -#endif - /* * void bus_space_set_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, uintN_t val, @@ -473,11 +447,6 @@ int news68k_bus_space_probe(bus_space_ta "%a0","%d0","%d1"); \ } while (0) -#if 0 /* Cause a link error for bus_space_set_multi_8 */ -#define bus_space_set_multi_8 \ - !!! bus_space_set_multi_8 unimplemented !!! -#endif - /* * void bus_space_set_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, uintN_t val, @@ -529,11 +498,6 @@ int news68k_bus_space_probe(bus_space_ta "%a0","%d0","%d1"); \ } while (0) -#if 0 /* Cause a link error for bus_space_set_region_8 */ -#define bus_space_set_region_8 \ - !!! bus_space_set_region_8 unimplemented !!! -#endif - /* * void bus_space_copy_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh1, bus_size_t off1, @@ -573,10 +537,6 @@ __CONCAT(bus_space_copy_region_,BYTES)(b __NEWS68K_copy_region_N(1) __NEWS68K_copy_region_N(2) __NEWS68K_copy_region_N(4) -#if 0 /* Cause a link error for bus_space_copy_region_8 */ -#define bus_space_copy_region_8 \ - !!! bus_space_copy_region_8 unimplemented !!! -#endif #undef __NEWS68K_copy_region_N Index: src/sys/arch/newsmips/include/bus.h diff -u src/sys/arch/newsmips/include/bus.h:1.22 src/sys/arch/newsmips/include/bus.h:1.23 --- src/sys/arch/newsmips/include/bus.h:1.22 Thu Apr 2 11:30:27 2020 +++ src/sys/arch/newsmips/include/bus.h Sat Jan 23 14:38:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.22 2020/04/02 15:30:27 msaitoh Exp $ */ +/* $NetBSD: bus.h,v 1.23 2021/01/23 19:38:08 christos Exp $ */ /* * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc. @@ -134,10 +134,6 @@ void bus_space_free(bus_space_tag_t t, b #define bus_space_read_4(t, h, o) \ ((void) t, (*(volatile uint32_t *)((h) + (o)))) -#if 0 /* Cause a link error for bus_space_read_8 */ -#define bus_space_read_8(t, h, o) !!! bus_space_read_8 unimplemented !!! -#endif - /* * void bus_space_read_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -169,10 +165,6 @@ __NEWSMIPS_bus_space_read_multi(1,8) __NEWSMIPS_bus_space_read_multi(2,16) __NEWSMIPS_bus_space_read_multi(4,32) -#if 0 /* Cause a link error for bus_space_read_multi_8 */ -#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!! -#endif - #undef __NEWSMIPS_bus_space_read_multi /* @@ -209,10 +201,6 @@ __NEWSMIPS_bus_space_read_region(1,8) __NEWSMIPS_bus_space_read_region(2,16) __NEWSMIPS_bus_space_read_region(4,32) -#if 0 /* Cause a link error for bus_space_read_region_8 */ -#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!! -#endif - #undef __NEWSMIPS_bus_space_read_region /* @@ -242,10 +230,6 @@ do { \ *(volatile uint32_t *)((h) + (o)) = (v); \ } while (0) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_8 !!! bus_space_write_8 not implemented !!! -#endif - /* * void bus_space_write_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -277,11 +261,6 @@ __NEWSMIPS_bus_space_write_multi(1,8) __NEWSMIPS_bus_space_write_multi(2,16) __NEWSMIPS_bus_space_write_multi(4,32) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_multi_8(t, h, o, a, c) \ - !!! bus_space_write_multi_8 unimplemented !!! -#endif - #undef __NEWSMIPS_bus_space_write_multi /* @@ -317,11 +296,6 @@ __NEWSMIPS_bus_space_write_region(1,8) __NEWSMIPS_bus_space_write_region(2,16) __NEWSMIPS_bus_space_write_region(4,32) -#if 0 /* Cause a link error for bus_space_write_region_8 */ -#define bus_space_write_region_8 \ - !!! bus_space_write_region_8 unimplemented !!! -#endif - #undef __NEWSMIPS_bus_space_write_region /* @@ -355,11 +329,6 @@ __NEWSMIPS_bus_space_set_multi(1,8) __NEWSMIPS_bus_space_set_multi(2,16) __NEWSMIPS_bus_space_set_multi(4,32) -#if 0 /* Cause a link error for bus_space_set_multi_8 */ -#define bus_space_set_multi_8 \ - !!! bus_space_set_multi_8 unimplemented !!! -#endif - #undef __NEWSMIPS_bus_space_set_multi /* @@ -395,11 +364,6 @@ __NEWSMIPS_bus_space_set_region(1,8) __NEWSMIPS_bus_space_set_region(2,16) __NEWSMIPS_bus_space_set_region(4,32) -#if 0 /* Cause a link error for bus_space_set_region_8 */ -#define bus_space_set_region_8 \ - !!! bus_space_set_region_8 unimplemented !!! -#endif - #undef __NEWSMIPS_bus_space_set_region /* @@ -447,11 +411,6 @@ __NEWSMIPS_copy_region(1) __NEWSMIPS_copy_region(2) __NEWSMIPS_copy_region(4) -#if 0 /* Cause a link error for bus_space_copy_region_8 */ -#define bus_space_copy_region_8 \ - !!! bus_space_copy_region_8 unimplemented !!! -#endif - #undef __NEWSMIPS_copy_region /* Index: src/sys/arch/next68k/include/bus_space.h diff -u src/sys/arch/next68k/include/bus_space.h:1.18 src/sys/arch/next68k/include/bus_space.h:1.19 --- src/sys/arch/next68k/include/bus_space.h:1.18 Thu Apr 2 11:30:27 2020 +++ src/sys/arch/next68k/include/bus_space.h Sat Jan 23 14:38:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bus_space.h,v 1.18 2020/04/02 15:30:27 msaitoh Exp $ */ +/* $NetBSD: bus_space.h,v 1.19 2021/01/23 19:38:08 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -147,10 +147,6 @@ typedef u_long bus_space_handle_t; #define bus_space_read_4(t, h, o) \ ((void) t, (*(volatile u_int32_t *)((h) + (o)))) -#if 0 /* Cause a link error for bus_space_read_8 */ -#define bus_space_read_8(t, h, o) !!! bus_space_read_8 unimplemented !!! -#endif - /* * void bus_space_read_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -202,10 +198,6 @@ typedef u_long bus_space_handle_t; "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_read_multi_8 */ -#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!! -#endif - /* * void bus_space_read_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -258,10 +250,6 @@ typedef u_long bus_space_handle_t; "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_read_region_8 */ -#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!! -#endif - /* * void bus_space_write_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -280,10 +268,6 @@ typedef u_long bus_space_handle_t; #define bus_space_write_4(t, h, o, v) \ ((void) t, ((void)(*(volatile u_int32_t *)((h) + (o)) = (v)))) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_8 !!! bus_space_write_8 not implemented !!! -#endif - /* * void bus_space_write_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -335,11 +319,6 @@ typedef u_long bus_space_handle_t; "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_multi_8(t, h, o, a, c) \ - !!! bus_space_write_multi_8 unimplemented !!! -#endif - /* * void bus_space_write_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -391,11 +370,6 @@ typedef u_long bus_space_handle_t; "a0","a1","d0"); \ } while (0); -#if 0 /* Cause a link error for bus_space_write_region_8 */ -#define bus_space_write_region_8 \ - !!! bus_space_write_region_8 unimplemented !!! -#endif - /* * void bus_space_set_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, u_intN_t val, @@ -447,11 +421,6 @@ typedef u_long bus_space_handle_t; "a0","d0","d1"); \ } while (0); -#if 0 /* Cause a link error for bus_space_set_multi_8 */ -#define bus_space_set_multi_8 \ - !!! bus_space_set_multi_8 unimplemented !!! -#endif - /* * void bus_space_set_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, u_intN_t val, @@ -503,11 +472,6 @@ typedef u_long bus_space_handle_t; "a0","d0","d1"); \ } while (0); -#if 0 /* Cause a link error for bus_space_set_region_8 */ -#define bus_space_set_region_8 \ - !!! bus_space_set_region_8 unimplemented !!! -#endif - /* * void bus_space_copy_N(bus_space_tag_t tag, * bus_space_handle_t bsh1, bus_size_t off1, @@ -551,10 +515,6 @@ __CONCAT(bus_space_copy_region_,BYTES)( __NEXT68K_copy_region_N(1) __NEXT68K_copy_region_N(2) __NEXT68K_copy_region_N(4) -#if 0 /* Cause a link error for bus_space_copy_8 */ -#define bus_space_copy_8 \ - !!! bus_space_copy_8 unimplemented !!! -#endif #undef __NEXT68K_copy_region_N Index: src/sys/arch/vax/include/bus.h diff -u src/sys/arch/vax/include/bus.h:1.35 src/sys/arch/vax/include/bus.h:1.36 --- src/sys/arch/vax/include/bus.h:1.35 Tue Sep 24 10:26:32 2019 +++ src/sys/arch/vax/include/bus.h Sat Jan 23 14:38:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.35 2019/09/24 14:26:32 maya Exp $ */ +/* $NetBSD: bus.h,v 1.36 2021/01/23 19:38:08 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc. @@ -220,10 +220,6 @@ struct vax_bus_space { (__BUS_SPACE_ADDRESS_SANITY((h) + (o), uint32_t, "bus addr"), \ __USE(t), (*(volatile uint32_t *)((h) + (o)))) -#if 0 /* Cause a link error for bus_space_read_8 */ -#define bus_space_read_8(t, h, o) !!! bus_space_read_8 unimplemented !!! -#endif - /* * void bus_space_read_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -257,10 +253,6 @@ do { \ vax_mem_read_multi_4((t), (h), (o), (a), (c)); \ } while (0) -#if 0 /* Cause a link error for bus_space_read_multi_8 */ -#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!! -#endif - static __inline void vax_mem_read_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, uint8_t *a, size_t c) @@ -327,11 +319,6 @@ do { \ vax_mem_read_region_4((t), (h), (o), (a), (c)); \ } while (0) -#if 0 /* Cause a link error for bus_space_read_region_8 */ -#define bus_space_read_region_8 \ - !!! bus_space_read_region_8 unimplemented !!! -#endif - static __inline void vax_mem_read_region_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, uint8_t *a, size_t c) @@ -391,10 +378,6 @@ do { \ ((void)(*(volatile uint32_t *)((h) + (o)) = (v))); \ } while (0) -#if 0 /* Cause a link error for bus_space_write_8 */ -#define bus_space_write_8 !!! bus_space_write_8 not implemented !!! -#endif - /* * void bus_space_write_multi_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, @@ -430,11 +413,6 @@ do { \ vax_mem_write_multi_4((t), (h), (o), (a), (c)); \ } while (0) -#if 0 /* Cause a link error for bus_space_write_multi_8 */ -#define bus_space_write_multi_8(t, h, o, a, c) \ - !!! bus_space_write_multi_8 unimplemented !!! -#endif - static __inline void vax_mem_write_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, const uint8_t *a, size_t c) @@ -498,11 +476,6 @@ do { \ vax_mem_write_region_4((t), (h), (o), (a), (c)); \ } while (0) -#if 0 /* Cause a link error for bus_space_write_region_8 */ -#define bus_space_write_region_8 \ - !!! bus_space_write_region_8 unimplemented !!! -#endif - static __inline void vax_mem_write_region_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, const uint8_t *a, size_t c) @@ -595,10 +568,6 @@ vax_mem_set_multi_4(bus_space_tag_t t, b *(volatile uint32_t *)(addr) = v; } -#if 0 /* Cause a link error for bus_space_set_multi_8 */ -#define bus_space_set_multi_8 !!! bus_space_set_multi_8 unimplemented !!! -#endif - /* * void bus_space_set_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, u_intN_t val, @@ -661,10 +630,6 @@ vax_mem_set_region_4(bus_space_tag_t t, *(volatile uint32_t *)(addr) = v; } -#if 0 /* Cause a link error for bus_space_set_region_8 */ -#define bus_space_set_region_8 !!! bus_space_set_region_8 unimplemented !!! -#endif - /* * void bus_space_copy_region_N(bus_space_tag_t tag, * bus_space_handle_t bsh1, bus_size_t off1, @@ -763,10 +728,6 @@ vax_mem_copy_region_4(bus_space_tag_t t, } } -#if 0 /* Cause a link error for bus_space_copy_8 */ -#define bus_space_copy_region_8 !!! bus_space_copy_region_8 unimplemented !!! -#endif - /* * Bus read/write barrier methods.