From owner-newconfig-jp@jp.freebsd.org  Wed Jan  6 02:33:26 1999
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id CAA28617;
	Wed, 6 Jan 1999 02:33:26 +0900 (JST)
	(envelope-from owner-newconfig-jp@jp.FreeBSD.org)
Received: from localhost.rr.iij4u.or.jp (h077.p048.iij4u.or.jp [210.130.48.77])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id CAA28609
	for <newconfig-jp@jp.freebsd.org>; Wed, 6 Jan 1999 02:33:21 +0900 (JST)
	(envelope-from bishop@rr.iij4u.or.jp)
Received: from localhost (localhost [127.0.0.1])
	by localhost.rr.iij4u.or.jp (8.9.1/8.9.1) with ESMTP id CAA00325
	for <newconfig-jp@jp.freebsd.org>; Wed, 6 Jan 1999 02:38:05 +0900 (JST)
	(envelope-from bishop@rr.iij4u.or.jp)
To: newconfig-jp@jp.freebsd.org
From: MAEKAWA Masahide <bishop@rr.iij4u.or.jp>
In-Reply-To: Your message of "Wed, 6 Jan 1999 01:05:15 +0900 (JST)"
	<199901051605.BAA24945@srapc342.sra.co.jp>
References: <199901051605.BAA24945@srapc342.sra.co.jp>
X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19990106023805S.bishop@rr.iij4u.or.jp>
Date: Wed, 06 Jan 1999 02:38:05 +0900
X-Dispatcher: imput version 980905(IM100)
Lines: 134
Reply-To: newconfig-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+981115
X-Sequence: newconfig-jp 818
Subject: [newconfig-jp 818] Re: Can I use bus_*_t ???
Errors-To: owner-newconfig-jp@jp.freebsd.org
Sender: owner-newconfig-jp@jp.freebsd.org
X-Originator: bishop@rr.iij4u.or.jp

$BA0@n!w?@8MBg3X$G$9(B.

Noriyuki Soda <soda@sra.co.jp>$B$5$s$,$$$o$O$k$K(B,
>config.new $B$,<+F0@8@.$9$k(B locaters.h $B$NCf$K$"$kH&$G$9!#(B
>($B$3$l$O!"(Boriginal $B$N(B config.new $B$K$O$J$$!"(BNetBSD $B$N3HD%5!G=$G$9!#(B)

FreeBSD config.new $B$b(B locators.h $B$KEG$$$F$k$N$G(B,
isa_device.h $B$G(B hogeUNK $B$rDj5A$9$k$h$&$K$7$F$_$^$7$?(B.

--- $B?@8MBg3XM}3XIt?t3X2J(B  $B$^$($+$o$^$5$R$G(B   9643024s@kobe-u.ac.jp
                                             gehenna@jp.FreeBSD.org ---

Index: sys/i386/isa/fd.c
===================================================================
RCS file: /home/cvs/newconfig/sys/i386/isa/fd.c,v
retrieving revision 1.8
diff -u -r1.8 fd.c
--- fd.c	1998/12/31 14:44:12	1.8
+++ fd.c	1999/01/05 17:10:43
@@ -91,7 +91,6 @@
 
 #ifdef NEW_CONFIG
 #include "ioconf.h"
-#include "locators.h"
 #endif /* NEW_CONFIG */
 
 /* misuse a flag to identify format operation */
Index: sys/i386/isa/isa.c
===================================================================
RCS file: /home/cvs/newconfig/sys/i386/isa/isa.c,v
retrieving revision 1.13
diff -u -r1.13 isa.c
--- isa.c	1998/12/31 14:18:14	1.13
+++ isa.c	1999/01/05 16:57:46
@@ -67,10 +67,6 @@
 #include <i386/isa/isa.h>
 #include <i386/isa/ic/i8237.h>
 
-#ifdef NEW_CONFIG
-#include "locators.h"
-#endif
-
 #include <sys/interrupt.h>
 
 #include "pnp.h"
Index: sys/i386/isa/isa_device.h
===================================================================
RCS file: /home/cvs/newconfig/sys/i386/isa/isa_device.h,v
retrieving revision 1.8
diff -u -r1.8 isa_device.h
--- isa_device.h	1998/12/24 14:46:06	1.8
+++ isa_device.h	1999/01/05 17:06:49
@@ -98,6 +98,15 @@
 	int ia_flags;
 	int ia_enabled;
 };
+
+/* Obtained from NetBSD */
+
+#include "locators.h"
+
+#define	IOBASEUNK	ISACF_IOBASE_DEFAULT	/* i/o address is unknown */
+#define	IRQUNK		ISACF_IRQ_DEFAULT	/* interrupt request line is unknown */
+#define	DRQUNK		ISACF_DRQ_DEFAULT	/* DMA request line is unknown */
+#define	MADDRUNK	ISACF_MEMBASE_DEFAULT	/* shared memory address is unknown */
 #endif /* NEW_CONFIG */
 
 /*
Index: sys/i386/isa/sio.c
===================================================================
RCS file: /home/cvs/newconfig/sys/i386/isa/sio.c,v
retrieving revision 1.7
diff -u -r1.7 sio.c
--- sio.c	1998/12/01 15:26:03	1.7
+++ sio.c	1999/01/05 16:56:32
@@ -93,10 +93,6 @@
 #include <i386/isa/pnp.h>
 #endif
 
-#ifdef NEW_CONFIG
-#include "locators.h"
-#endif
-
 #ifdef SMP
 #define disable_intr()	COM_DISABLE_INTR()
 #define enable_intr()	COM_ENABLE_INTR()
Index: sys/i386/isa/wd.c
===================================================================
RCS file: /home/cvs/newconfig/sys/i386/isa/wd.c,v
retrieving revision 1.11
diff -u -r1.11 wd.c
--- wd.c	1998/12/28 17:32:47	1.11
+++ wd.c	1999/01/05 16:58:45
@@ -109,7 +109,6 @@
 
 #ifdef NEW_CONFIG
 #include "ioconf.h"
-#include "locators.h"
 #endif
 
 extern void wdstart(int ctrlr);
Index: sys/sys/queue.h
===================================================================
RCS file: /home/cvs/newconfig/sys/sys/queue.h,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 queue.h
--- queue.h	1998/09/18 12:13:09	1.1.1.2
+++ queue.h	1999/01/05 16:10:57
@@ -106,6 +106,25 @@
  *
  */
 
+#ifdef NEW_CONFIG
+/*
+ * Simple queue definitions.
+ */
+#define	SIMPLEQ_HEAD(name, type)					\
+struct name {								\
+	struct type *sqh_first;	/* first element */			\
+	struct type **sqh_last;	/* addr of last next element */		\
+}
+
+#define	SIMPLEQ_HEAD_INITIALIZER(head)					\
+	{ NULL, &(head).sqh_first }
+
+#define	SIMPLEQ_ENTRY(type)						\
+struct {								\
+	struct type *sqe_next;	/* next element */			\
+}
+#endif /* NEW_CONFIG */
+
 /*
  * Singly-linked List definitions.
  */
