Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/include Drop obsolete bus_space_* compat defs.



details:   https://anonhg.NetBSD.org/src/rev/068dbcb3adb9
branches:  trunk
changeset: 584407:068dbcb3adb9
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Sep 15 18:34:03 2005 +0000

description:
Drop obsolete bus_space_* compat defs.

diffstat:

 sys/arch/sh3/include/bus.h |  24 +-----------------------
 1 files changed, 1 insertions(+), 23 deletions(-)

diffs (50 lines):

diff -r 7ffe53f1adeb -r 068dbcb3adb9 sys/arch/sh3/include/bus.h
--- a/sys/arch/sh3/include/bus.h        Thu Sep 15 15:25:40 2005 +0000
+++ b/sys/arch/sh3/include/bus.h        Thu Sep 15 18:34:03 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.10 2005/03/11 16:16:06 matt Exp $    */
+/*     $NetBSD: bus.h,v 1.11 2005/09/15 18:34:03 uwe Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -73,10 +73,6 @@
 
 #include <machine/bswap.h>
 
-#ifndef __BUS_SPACE_COMPAT_OLDDEFS
-#define        __BUS_SPACE_COMPAT_OLDDEFS
-#endif
-
 #define        __BUS_SPACE_HAS_STREAM_METHODS
 
 #define        BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
@@ -823,18 +819,6 @@
        }
 }
 
-#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_2((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_4(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_4((t), (h1), (o1), (h2), (o2), (c))
-#define        bus_space_copy_8(t, h1, o1, h2, o2, c)                          \
-       bus_space_copy_region_8((t), (h1), (o1), (h2), (o2), (c))
-#endif
-
 /*
  * Bus read/write barrier methods.
  *
@@ -850,10 +834,4 @@
 #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
-
 #endif /* _SH3_BUS_H_ */



Home | Main Index | Thread Index | Old Index