From owner-FreeBSD-tech-jp@jp.freebsd.org  Tue Jun  9 15:02:38 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.8.8+3.0Wbeta13/8.7.3) id PAA02695;
	Tue, 9 Jun 1998 15:02:38 +0900 (JST)
	(envelope-from owner-FreeBSD-tech-jp@jp.FreeBSD.org)
Received: from TYO2.gate.nec.co.jp (TYO2.gate.nec.co.jp [203.180.98.33])
	by jaz.jp.freebsd.org (8.8.8+3.0Wbeta13/8.7.3) with ESMTP id PAA02686
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 9 Jun 1998 15:02:34 +0900 (JST)
	(envelope-from y-nakaga@ccs.mt.nec.co.jp)
Received: from mailsv.nec.co.jp ([192.168.1.90])
	by TYO2.gate.nec.co.jp (8.8.8+2.7Wbeta7/3.6Wbeta698051415) with ESMTP id PAA12447
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 9 Jun 1998 15:02:32 +0900 (JST)
Received: from gw.ccs.mt.nec.co.jp (gw.ccs.mt.nec.co.jp [133.201.2.2]) by mailsv.nec.co.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-98052215) with ESMTP
	id PAA26768 for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 9 Jun 1998 15:02:31 +0900 (JST)
Received: from mail.ccs.mt.nec.co.jp (mail.ccs.mt.nec.co.jp [133.201.3.22]) by gw.ccs.mt.nec.co.jp (8.8.8+2.7Wbeta7/3.3W9-GW_CCS) with ESMTP id PAA16981 for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 9 Jun 1998 15:01:41 +0900 (JST)
Received: from spls63.ccs.mt.nec.co.jp by mail.ccs.mt.nec.co.jp (8.8.8+2.7Wbeta7/6.4J.6-ccs_mx)
	id PAA04878; Tue, 9 Jun 1998 15:02:30 +0900 (JST)
Received: from ccs.mt.nec.co.jp by spls63.ccs.mt.nec.co.jp (8.8.8+2.7Wbeta7/6.4J.6-slave-1.0)
	id PAA00948; Tue, 9 Jun 1998 15:02:29 +0900 (JST)
Message-Id: <199806090602.PAA00948@spls63.ccs.mt.nec.co.jp>
To: FreeBSD-tech-jp@jp.freebsd.org
In-reply-to: Your message of "Mon, 08 Jun 1998 21:14:10 MST"
References: <199806090414.VAA00467@antipodes.cdrom.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Date: Tue, 09 Jun 1998 15:02:29 +0900
From: Nakagawa Yoshihisa <y-nakaga@ccs.mt.nec.co.jp>
Reply-To: FreeBSD-tech-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-tech-jp 1500
Subject: [FreeBSD-tech-jp 1500] Re: new config 
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org

$B!t;d$NJ}$O$^$@@oF.=`Hw$,@0$C$F$$$J$$$s$G$9$,!"4{$K;O$^$C$F$7$^$$$^(B
$B!t$7$?$M!#(B^_^;

| Newconfig imposes very strict hierarchical structure on the system, and 
| whilst well-geared towards a static configuration, is much less well 
| suited to dynamic operation (my evaluation only).  Bearing in mind that 
| it has been at least a year since I had anything to do with newconfig, 
| I'd be interested in more clarification.
| 
| Can you clarify when you talk about "new config", do you specifically 
| mean the "new config" tool, or an improved bus/resource/driver model?

$B$^$:!"2f!9$NL\;X$7$F$$$k$b$N$O!"(B"an improved bus/resource/driver
model" $B$NF3F~$G$"$C$F!"(B"new config" tool $B$O%a%$%s$G$J$$!J(Bconfig $B$G(B
$B=q$/$b$N$r$-$l$$$K$9$k$?$a$KMxMQ$9$k!K$C$F$H$3$m$G$9$+$M!#(B

$B6qBNE*$K$O!"(BNetBSD $B$_$?$$$K(B struct cfdriver $B$d(B struct device $B$rF3(B
$BF~$9$k!#$3$C$A$,<gL\E*!#$C$F$3$H$G$9$+!#(B

$B!t$H$j$"$($:!"@oN,E*$K0lJb8eB`$7$F30KY$rKd$a$k!#(B:-)

| > 	- With old config, the order of probe/attach is defined sorely by
| > 	  the type of bus, say, pci_configure() then isa_configure().
| > 	  There are devices that are not happy with this method, such as
| > 	  cardbus controller.
| 
| This is very similar to newconfig, where discovery is performed in a 
| tree-recursive fashion, no?

$B$3$NJU$j$,(B LKM $BGI$H$NAj0cE@$K$J$k$s$G$O$J$$$+$H;W$$$^$9!#(B

$B8=9T$G$O!"3F%P%9Kh$K(B xxx_configure() $B$r9T$C$F(B probe/attach $B$r$7$F!"(B
unit number $B$H$+$,7h$^$C$F$$$-$^$9!#(B

$B;d$,9M$($F$$$kHO0O$G$O!"(BLKM $B$rCf?4$K$7$?$H$-$KNc$($P(B ed driver $B$N(B
$B>l9g!"(Bif_ed_mod.o $B$N$h$&$J!"%P%9$O4X78$J$/$9$Y$F$N%P%9$N(B 
probe/attach $B$r4^$s$@7A$G!"(Bdriver $BC10L$G(B module $B$K$9$k$D$b$j$J$N$G(B
$B$O$J$$$+!#$=$7$F!"8D!9$N(B driver $B$NCf$G!"3F%P%9$N(B probe/attach $B$r9T(B
$B$&!#(B

$B!t$=$&$9$k$H!"(BLegacy ISA $B0J30$G$O0l4S@-$,<h$l$k!#(BLegacy ISA $B$NLdBj(B
$B!t$O$=$N$^$^!#(B

LKM $BE*9M$(J}$b$o$+$i$J$$$G$O$J$$$s$G$9$,!"(B

- Legacy ISA $B$O$I$&$9$k$N!)(B
- $B$d$C$Q$j(B static $B$J3d$jEv$F$OI,MW$K$J$k(B
- $B!J=tHL$N;v>p$K$h$j!K(Bstatic $B$K(B unit number $B$r3d$jEv$F$?$$>l9g!":$$k(B

$B$H$$$C$?$H$3$m$,LdBj$K$J$k$H;W$$$^$9!#(B

$B$G$O!"5U$K(B new config $BE*N)>l$+$i$9$k$H!"(BLKM $B$O$I$J$$$9$s$M$s!"$C$F(B
$BLdBj$O;D$j$^$9$,!#(B

$B!t0UL#$,$A$c$s$H$D$+$a$:!"<-=q$r0z$-0z$-%a!<%k$rFI$`$3$H$K$J$C$?$s(B
$B!t$G$A$g$C$H$7$s$I$+$C$?!D!#@h$,;W$$$d$i$l$k$J!D!#(B

$B$d$C$Q(B current $B4D6-=`Hw$7$J$-$c$$$1$J$$$G$9$h$M$'!D!#(B

--
	$BF|K\EE5$3t<02q<R(B $B%M%C%H%o!<%-%s%05;=Q8&5f=j(B $B%$%s%?%M%C%H5;=QIt(B
		$BCf@n(B $B9%5W(B	y-nakaga@ccs.mt.nec.co.jp
				jj3mxl@eatell.msr.prug.or.jp
