Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch nuke current definitions provided by __BUS_SPACE_CO...



details:   https://anonhg.NetBSD.org/src/rev/d69ce5682013
branches:  trunk
changeset: 473745:d69ce5682013
user:      cgd <cgd%NetBSD.org@localhost>
date:      Fri Jun 18 04:49:24 1999 +0000

description:
nuke current definitions provided by __BUS_SPACE_COMPAT_OLDDEFS.
I'll do what I can to make new ones soon.  8-)

diffstat:

 sys/arch/alpha/include/bus.h  |  20 +-------------------
 sys/arch/arm32/include/bus.h  |  20 +-------------------
 sys/arch/bebox/include/bus.h  |  20 +-------------------
 sys/arch/i386/include/bus.h   |  20 +-------------------
 sys/arch/macppc/include/bus.h |   8 +-------
 sys/arch/vax/include/bus.h    |  20 +-------------------
 6 files changed, 6 insertions(+), 102 deletions(-)

diffs (227 lines):

diff -r 0c86bbf56848 -r d69ce5682013 sys/arch/alpha/include/bus.h
--- a/sys/arch/alpha/include/bus.h      Thu Jun 17 23:17:45 1999 +0000
+++ b/sys/arch/alpha/include/bus.h      Fri Jun 18 04:49:24 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.28 1999/03/23 21:29:03 drochner Exp $ */
+/* $NetBSD: bus.h,v 1.29 1999/06/18 04:49:24 cgd Exp $ */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -300,12 +300,6 @@
 #define        BUS_SPACE_BARRIER_READ  0x01
 #define        BUS_SPACE_BARRIER_WRITE 0x02
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define        BUS_BARRIER_READ        BUS_SPACE_BARRIER_READ
-#define        BUS_BARRIER_WRITE       BUS_SPACE_BARRIER_WRITE
-#endif
-
 
 /*
  * Bus read (single) operations.
@@ -415,18 +409,6 @@
 #define        bus_space_copy_region_8(t, h1, o1, h2, o2, c)                   \
        __abs_copy(8, u_int64_t, (t), (h1), (o1), (h2), (o2), (c))
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define        bus_space_copy_1(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_2(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_4(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_8(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#endif
-
 
 /*
  * Bus DMA methods.
diff -r 0c86bbf56848 -r d69ce5682013 sys/arch/arm32/include/bus.h
--- a/sys/arch/arm32/include/bus.h      Thu Jun 17 23:17:45 1999 +0000
+++ b/sys/arch/arm32/include/bus.h      Fri Jun 18 04:49:24 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.16 1999/03/29 12:42:51 mrg Exp $     */
+/*     $NetBSD: bus.h,v 1.17 1999/06/18 04:49:25 cgd Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -256,12 +256,6 @@
 #define        BUS_SPACE_BARRIER_READ  0x01
 #define        BUS_SPACE_BARRIER_WRITE 0x02
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define        BUS_BARRIER_READ        0x01
-#define        BUS_BARRIER_WRITE       0x02
-#endif
-
 /*
  * Bus read (single) operations.
  */
@@ -370,18 +364,6 @@
 #define        bus_space_copy_region_8(t, h1, o1, h2, o2, c)                           \
        __bs_copy(8, t, h1, o1, h2, o2, c)
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define        bus_space_copy_1(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_2(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_4(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_8(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#endif
-
 /*
  * Macros to provide prototypes for all the functions used in the
  * bus_space structure
diff -r 0c86bbf56848 -r d69ce5682013 sys/arch/bebox/include/bus.h
--- a/sys/arch/bebox/include/bus.h      Thu Jun 17 23:17:45 1999 +0000
+++ b/sys/arch/bebox/include/bus.h      Fri Jun 18 04:49:24 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.18 1999/03/23 21:29:04 drochner Exp $        */
+/*     $NetBSD: bus.h,v 1.19 1999/06/18 04:49:25 cgd Exp $     */
 /*     $OpenBSD: bus.h,v 1.1 1997/10/13 10:53:42 pefo Exp $    */
 
 /*-
@@ -894,18 +894,6 @@
 
 #define        bus_space_copy_region_8 !!! bus_space_copy_region_8 unimplemented !!!
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define        bus_space_copy_1(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_2(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_4(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_8(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#endif
-
 /*
  * Bus read/write barrier methods.
  *
@@ -919,12 +907,6 @@
 #define        BUS_SPACE_BARRIER_READ  0x01            /* force read barrier */
 #define        BUS_SPACE_BARRIER_WRITE 0x02            /* force write barrier */
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define        BUS_BARRIER_READ        BUS_SPACE_BARRIER_READ
-#define        BUS_BARRIER_WRITE       BUS_SPACE_BARRIER_WRITE
-#endif
-
 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
 
 /*
diff -r 0c86bbf56848 -r d69ce5682013 sys/arch/i386/include/bus.h
--- a/sys/arch/i386/include/bus.h       Thu Jun 17 23:17:45 1999 +0000
+++ b/sys/arch/i386/include/bus.h       Fri Jun 18 04:49:24 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.23 1999/03/23 21:29:04 drochner Exp $        */
+/*     $NetBSD: bus.h,v 1.24 1999/06/18 04:49:25 cgd Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -910,18 +910,6 @@
 #define        bus_space_copy_region_8 !!! bus_space_copy_region_8 unimplemented !!!
 #endif
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define        bus_space_copy_1(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_2(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_4(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_8(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#endif
-
 
 /*
  * Bus read/write barrier methods.
@@ -938,12 +926,6 @@
 #define        BUS_SPACE_BARRIER_READ  0x01            /* force read barrier */
 #define        BUS_SPACE_BARRIER_WRITE 0x02            /* force write barrier */
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define        BUS_BARRIER_READ        BUS_SPACE_BARRIER_READ
-#define        BUS_BARRIER_WRITE       BUS_SPACE_BARRIER_WRITE
-#endif
-
 
 /*
  * Flags used in various bus DMA methods.
diff -r 0c86bbf56848 -r d69ce5682013 sys/arch/macppc/include/bus.h
--- a/sys/arch/macppc/include/bus.h     Thu Jun 17 23:17:45 1999 +0000
+++ b/sys/arch/macppc/include/bus.h     Fri Jun 18 04:49:24 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.7 1999/03/23 21:29:05 drochner Exp $ */
+/*     $NetBSD: bus.h,v 1.8 1999/06/18 04:49:25 cgd Exp $      */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -695,12 +695,6 @@
 #define BUS_SPACE_BARRIER_READ 0x01            /* force read barrier */
 #define BUS_SPACE_BARRIER_WRITE        0x02            /* force write barrier */
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define BUS_BARRIER_READ       BUS_SPACE_BARRIER_READ
-#define BUS_BARRIER_WRITE      BUS_SPACE_BARRIER_WRITE
-#endif
-
 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
 
 /*
diff -r 0c86bbf56848 -r d69ce5682013 sys/arch/vax/include/bus.h
--- a/sys/arch/vax/include/bus.h        Thu Jun 17 23:17:45 1999 +0000
+++ b/sys/arch/vax/include/bus.h        Fri Jun 18 04:49:24 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.7 1999/06/06 19:07:11 ragge Exp $    */
+/*     $NetBSD: bus.h,v 1.8 1999/06/18 04:49:26 cgd Exp $      */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -836,18 +836,6 @@
 #define        bus_space_copy_region_8 !!! bus_space_copy_region_8 unimplemented !!!
 #endif
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define        bus_space_copy_1(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_2(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_4(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_8(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
-#endif
-
 
 /*
  * Bus read/write barrier methods.
@@ -864,12 +852,6 @@
 #define        BUS_SPACE_BARRIER_READ  0x01            /* force read barrier */
 #define        BUS_SPACE_BARRIER_WRITE 0x02            /* force write barrier */
 
-#ifdef __BUS_SPACE_COMPAT_OLDDEFS
-/* compatibility definitions; deprecated */
-#define        BUS_BARRIER_READ        BUS_SPACE_BARRIER_READ
-#define        BUS_BARRIER_WRITE       BUS_SPACE_BARRIER_WRITE
-#endif
-
 
 /*
  * Flags used in various bus DMA methods.



Home | Main Index | Thread Index | Old Index