Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun2/include Include a common header, then define m...



details:   https://anonhg.NetBSD.org/src/rev/425a39a248ce
branches:  trunk
changeset: 511830:425a39a248ce
user:      fredette <fredette%NetBSD.org@localhost>
date:      Wed Jun 27 19:21:49 2001 +0000

description:
Include a common header, then define macros that
give the appearance of specific attach args for
the mbio and mbmem buses.

diffstat:

 sys/arch/sun2/include/autoconf.h |  16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 9b2cf9e312fc -r 425a39a248ce sys/arch/sun2/include/autoconf.h
--- a/sys/arch/sun2/include/autoconf.h  Wed Jun 27 19:20:22 2001 +0000
+++ b/sys/arch/sun2/include/autoconf.h  Wed Jun 27 19:21:49 2001 +0000
@@ -1,3 +1,17 @@
-/*     $NetBSD: autoconf.h,v 1.2 2001/06/14 13:16:03 fredette Exp $    */
+/*     $NetBSD: autoconf.h,v 1.3 2001/06/27 19:21:49 fredette Exp $    */
 
 #include <sun68k/autoconf.h>
+
+#define        mbio_attach_args        mainbus_attach_args
+#define        mba_bustag              ma_bustag
+#define        mba_dmatag              ma_dmatag
+#define        mba_name                ma_name
+#define        mba_paddr               ma_paddr
+#define        mba_pri                 ma_pri
+
+#define        mbmem_attach_args       mainbus_attach_args
+#define        mbma_bustag             ma_bustag
+#define        mbma_dmatag             ma_dmatag
+#define        mbma_name               ma_name 
+#define        mbma_paddr              ma_paddr
+#define        mbma_pri                ma_pri



Home | Main Index | Thread Index | Old Index