Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 1999 22:01:34 +0900
From:      non@ever.sanda.gr.jp
To:        newconfig@jp.freebsd.org
Cc:        hackers@freebsd.org
Subject:   FYI from [newconfig-jp 1855] newconfig/dynamic configuration (sysnewconfig990503-kld990505test6.patch.gz)
Message-ID:  <19990506220134G.non@ever.sanda.gr.jp>
In-Reply-To: Your message of "Thu, 06 May 1999 01:09:34 %2B0900" <19990506010934J.uch@nop.or.jp>
References:  <19990506010934J.uch@nop.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990506220134G.non>