Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2002 00:38:51 -0600
From:      "Mike Meyer" <mwm-dated-1013323131.5948dc@mired.org>
To:        beeman@ip21.cvd-r8.rb1.bel.nwlink.com (Roger L. Beeman)
Cc:        questions@freebsd.org, george@vagner.com
Subject:   Re: wiring down devices
Message-ID:  <15455.32251.172602.228021@guru.mired.org>
In-Reply-To: <117592435@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Roger L. Beeman <beeman@ip21.cvd-r8.rb1.bel.nwlink.com> types:
> "george" <george@vagner.com> wrote:
> 
> > I read the LINT file and tried to remake a kernel
> > with wired down devices by adding the line
> 
> > device    da0 at scbus0 target 0 lun 0
> 
> As I read the LINT file, I believe you need two lines:
> 
> # Associate scbus0 with device ahc0
>   device	scbus0 at ahc0
> # Associate da0 with device scbus0
>   device 	da0 at scbus0 target 0

Note quite.

	# Associate scbus0 with device ahc0
	device scbus0 at ahc0

That's sufficient to get da0 on ahc0, as the scbuses are probed in
order, and that changes their order.

My kernel also has

	device scbus

in it. I think I had to do that so it would find the second SCSI
controller, so it may not be needed if you only have one SCSI bus.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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




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