*BSD News Article 94219


Return to BSD News archive

From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: BusLogic BT-946C with FreeBSD 2.2.1
Date: Tue, 22 Apr 1997 13:18:45 -0700
Organization: Walnut Creek CDROM
Lines: 23
Message-ID: <335D1D25.167EB0E7@FreeBSD.org>
References: <5jdfsk$bm5@tron.sci.fi> <5jdkhb$62m$1@moek.pir.net>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2-STABLE i386)
CC: Peter Radcliffe <"2010$fribble"@pir.net>
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.Hawaii.Edu!news.lava.net!news.flex.com!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!news.maxwell.syr.edu!news.mathworks.com!uunet!in1.uu.net!129.115.10.31!naiad.utsa.edu!uthscsa.edu!nnrp1.crl.com!not-for-mail
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39571


Peter Radcliffe wrote:
> Yes, this is what you must do.
> Its slower because you are using your card in isa compatability mode, not
> full speed pci.

Uh, no. :-)  The same driver is used by all bus types, all that changes
is the "probe glue" which the bus probes will call is that cards are
identified on the right bus.  Look at /sys/pci/bt9xx.c and you'll see
that it's no more than a hundred lines (many of which are comments)
long; it's just the PCI probe code and nothing else - the "meat" is bus
independant.

> From 2.2.1 GENERIC kernel we have:
> controller      bt0     at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
> 
> You want:
> controller      bt0     at pci? port "IO_BT0" bio irq ? vector bt_isa_intr

And no, you most definitely do NOT want that. :-)

-- 
- Jordan Hubbard
  FreeBSD core team / Walnut Creek CDROM.