Source-Changes-HG archive

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

[src/nathanw_sa]: src/sys/arch/sun2/include Include a common header, then def...



details:   https://anonhg.NetBSD.org/src/rev/1c33571ded57
branches:  nathanw_sa
changeset: 504811:1c33571ded57
user:      fredette <fredette%NetBSD.org@localhost>
date:      Wed Jun 27 19:21:50 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 |  17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r 4493530e5700 -r 1c33571ded57 sys/arch/sun2/include/autoconf.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/sun2/include/autoconf.h  Wed Jun 27 19:21:50 2001 +0000
@@ -0,0 +1,17 @@
+/*     $NetBSD: autoconf.h,v 1.3.8.2 2001/06/27 19:21:50 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