From owner-freebsd-hackers Thu May 6 5:49:42 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.sanda.gr.jp (ns.sanda.gr.jp [210.232.122.18]) by hub.freebsd.org (Postfix) with ESMTP id B498D15044 for ; Thu, 6 May 1999 05:49:37 -0700 (PDT) (envelope-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 From: non@ever.sanda.gr.jp 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 Subject: FYI from [newconfig-jp 1855] newconfig/dynamic configuration (sysnewconfig990503-kld990505test6.patch.gz) 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 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG FYI this is brief translation from [newconfig-jp 1855]. From: UCHIYAMA Yasushi 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message