Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus Get rid of bus_type_t.



details:   https://anonhg.NetBSD.org/src/rev/68498dd58182
branches:  trunk
changeset: 523741:68498dd58182
user:      eeh <eeh%NetBSD.org@localhost>
date:      Fri Mar 15 07:00:34 2002 +0000

description:
Get rid of bus_type_t.

diffstat:

 sys/dev/sbus/sbusvar.h |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (24 lines):

diff -r 77d0c985dc6b -r 68498dd58182 sys/dev/sbus/sbusvar.h
--- a/sys/dev/sbus/sbusvar.h    Fri Mar 15 06:40:42 2002 +0000
+++ b/sys/dev/sbus/sbusvar.h    Fri Mar 15 07:00:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbusvar.h,v 1.14 2002/03/11 16:00:57 pk Exp $ */
+/*     $NetBSD: sbusvar.h,v 1.15 2002/03/15 07:00:34 eeh Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -120,14 +120,8 @@
 
 void   sbus_destroy_attach_args __P((struct sbus_attach_args *));
 
-#if defined(SUN4U)
-/* XXX - until sun4u catches up */
-#define sbus_bus_map(t, bt, a, s, f, hp) \
-       bus_space_map2(t, bt, a, s, f, 0, hp)
-#else
 #define sbus_bus_map(tag, slot, offset, sz, flags, hp) \
        bus_space_map(tag, BUS_ADDR(slot,offset), sz, flags, hp)
-#endif
 bus_addr_t     sbus_bus_addr __P((bus_space_tag_t, u_int, u_int));
 
 #if notyet



Home | Main Index | Thread Index | Old Index