From owner-newconfig@jp.freebsd.org  Thu May  6 21:49:43 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id VAA81371;
	Thu, 6 May 1999 21:49:43 +0900 (JST)
	(envelope-from owner-newconfig@jp.FreeBSD.org)
Received: from ns.sanda.gr.jp (ns.sanda.gr.jp [210.232.122.18])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id VAA81366
	for <newconfig@jp.freebsd.org>; Thu, 6 May 1999 21:49:42 +0900 (JST)
	(envelope-from non@ever.sanda.gr.jp)
From: non@ever.sanda.gr.jp
Received: from ever.sanda.gr.jp (epoch [10.93.63.51])
	by ns.sanda.gr.jp (8.8.8/3.6W) with ESMTP id VAA06790;
	Thu, 6 May 1999 21:49:33 +0900
Received: from localhost (localhost [127.0.0.1]) by ever.sanda.gr.jp (8.8.8/3.3W9) with ESMTP id WAA08066; Thu, 6 May 1999 22:01:35 +0900 (JST)
To: newconfig@jp.freebsd.org
Cc: hackers@freebsd.org
In-Reply-To: Your message of "Thu, 06 May 1999 01:09:34 +0900"
	<19990506010934J.uch@nop.or.jp>
References: <19990506010934J.uch@nop.or.jp>
X-Mailer: Mew version 1.93 on Emacs 19.28 / Mule 2.3
 =?iso-2022-jp?B?KBskQkt2RSYyVhsoQik=?=
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <19990506220134G.non@ever.sanda.gr.jp>
Date: Thu, 06 May 1999 22:01:34 +0900
X-Dispatcher: imput version 980905(IM100)
Lines: 46
Reply-To: newconfig@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990430
X-Sequence: newconfig 43
Subject: [newconfig 43] FYI from [newconfig-jp 1855] newconfig/dynamic configuration (sysnewconfig990503-kld990505test6.patch.gz)
Errors-To: owner-newconfig@jp.freebsd.org
Sender: owner-newconfig@jp.freebsd.org
X-Originator: non@ever.sanda.gr.jp

FYI this is brief translation from [newconfig-jp 1855].

From: UCHIYAMA Yasushi <uch@nop.or.jp>
Subject: [newconfig-jp 1855] newconfig/dynamic configuration (sysnewconfig990503-kld990505test6.patch.gz)
Date: Thu, 06 May 1999 01:09:34 +0900

ftp://f77.nop.or.jp/users/uch/PCMCIA/FreeBSD/
  sysnewconfig990503-kld990505test6.patch.gz ... 
	patch from newconfig CVS repository at the date of 1999/05/03
  dconfig990503.tar.gz
	new `config.new'

Previously, cfdata was from the array in ioconf.c generated by
config.new. In this version, cfdata is made at boot time by
newioconf.c which is generated by dconfig.

Driver modules xl, ne, dp8390nic, rtl80x9, ne_pci and ne_isa for
dynamic configuration is in sys/modules. 

`dconfig(8)' is modified from
  http://home.jp.freebsd.org/~furuta/dconf.tar.gz
This is used to generate newioconf.[ch] at compile time and load
drivers at run time. Interfaces are temporal. Extract in the directory 
usr.sbin. You cannot compile the kernel source with
sysnewconfig990503-kld990505test6.patch.gz without dconfig.


1) To compile a kernel, instead of config.new NEWCONF, use
	dconfig --compile=NEWCONF

2) To load/unload drivers, in /dev directory, do
	mknod config c 80 0
   For example, to load `ne3 at pci0 dev ? func ?', do, 
	dconfig --load --driver=ne --unit=3 --bus=pci --busunit=0 --locator=-1,-1 --flags=0
   To unload, 
	dconfig --unload --driver=ne --unit=3 --bus=pci --busunit=0 --locator=-1,-1 --flags=0

   To load/unload `ne4 at isa0 iobase 0x280 irq 9' do,
	dconfig --load --driver=ne --unit=4 --bus=isa --busunit=0 --locator=640,0,0,0,9,-1,-1,0,1,0 --flags=0
	dconfig --unload --driver=ne --unit=4 --bus=isa --busunit=0 --locator=640,0,0,0,9,-1,-1,0,1,0 --flags=0

> ---
> UCHIYAMA Yasushi
> uch@nop.or.jp 

// Noriaki Mitsunaga
