*BSD News Article 2712


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!hp9000.csc.cuhk.hk!uakari.primate.wisc.edu!sdd.hp.com!nigel.msen.com!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!news.funet.fi!kannel!news
From: ats@lut.fi (Ari Suutari)
Newsgroups: comp.unix.bsd
Subject: Re: Do YOU think that this generates correct kernel ?
Keywords: kernel config
Message-ID: <1992Jul29.091608.10321@lut.fi>
Date: 29 Jul 92 09:16:08 GMT
References: <1992Jul28.151518.18102@lut.fi> <1992Jul28.221939.2479@cognos.com>
Sender: news@lut.fi (Usenet News)
Organization: Lappeenranta University of Technology, Finland
Lines: 24

dealwisb@cognos.com (Brian de Alwis) writes:

>controller wd0 at isa?
>disk       dk0 at wd0 drive 0
>disk       dk1 at wd0 drive 1

>NWD is defined as 1 (which breaks the patches posted to support > 1 HD).
>It seems that config is looking in the wrong places to figure out the
>number of possibly-attached devices.

	I think that config works correctly, it just that naming of
	devices should be different. How about doing it like this:

	controller	wdc0 at isa?
	disk		wd0 at wc0 drive 0
	disk		wd1 at wc0 drive 1

	This would, of cource, require some changes. wd.c should be wdc.c
	and files.i386 should be modified also. All references to NWD
	should also be checked and modified to NWDC if required.

	Now config would configure swap386bsd.c also correctly.

		Ari