*BSD News Article 49931


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!noc.netcom.net!ix.netcom.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ensta!itesec!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.frmug.fr.net (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: AHA-2740 EISA CARD Support
Date: 24 Aug 1995 22:59:23 +0200
Organization: A Happy FreeBSD 2.1-current Usenet Site
Lines: 39
Message-ID: <41ip7b$6c7@keltia.frmug.fr.net>
References: <412r05$guu@presence.lglobal.com> <jcaron-1908952339450001@mon2-12.planete.net> <41g11f$1qc@keltia.frmug.fr.net> <jcaron-2408951803100001@jc-mac.pressimage.net>
Reply-To: roberto@keltia.freenix.fr (Ollivier Robert)
NNTP-Posting-Host: keltia.frmug.fr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <jcaron-2408951803100001@jc-mac.pressimage.net>,
Jacques Caron <jcaron@pressimage.net> wrote:
> I thought I had to add it, but from something else I had seen in a config
> file, I wondered if the controller scbus0 did not work like the device
> sd0, and added dynamically the subsequent controllers/drivers?

AFAIK no. You'll have  to specify each bus  by itself. Only the devices are
dynamically allocated  as they're probed  (unless one use the fixed address
syntax as shown).

# BT: 2 fast disks + CD
disk            sd0 at scbus0 target 0 unit 0
disk            sd2 at scbus0 target 2
device          cd0 at scbus0 target 6
# 1742: mp1624 + all streamers
disk            sd1 at scbus1 target 1
tape            st0 at scbus1 target 5
tape            st1 at scbus1 target 4

It  helps when you  add or remove  SCSI devices. Make /etc/fstab management
easier...

> And do I need to specify where that bus is (controller scbus1 on ahc1 or
> whatever the syntax is), or will FreeBSD map it like a big boy?

I  have two controllers  and use the following  syntax. I don't have a twin
channel controller so  I'm not  sure it  is  exactly the  same but  I guess
so. Ask Justin in the freebsd-hackers list. 

controller      bt0 at isa? port "IO_BT0" bio irq ? vector btintr
controller      scbus0 at bt0

controller      ahb0 at isa? bio irq ? vector ahbintr
controller      scbus1 at ahb0

[ Cc: to Jacques ]
-- 
Ollivier ROBERT  -=- FreeBSD: The daemon is FREE! -=-  roberto@freebsd.org
-=-=-=-=-=-=-=-=-=-=- FreeBSD 2.x FAQ maintainer -=-=-=-=-=-=-=-=-=-=-=-=-