From owner-freebsd-scsi Sun Jan 31 21:00:39 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA19675 for freebsd-scsi-outgoing; Sun, 31 Jan 1999 21:00:39 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA19665 for ; Sun, 31 Jan 1999 21:00:37 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.2/8.8.5) id WAA31804; Sun, 31 Jan 1999 22:00:28 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199902010500.WAA31804@panzer.plutotech.com> Subject: Re: nca (5380) driver and CAM. In-Reply-To: <199902010311.OAA15471@universe.serc.rmit.edu.au> from Mick Dwyer at "Feb 1, 1999 2:11:22 pm" To: dwyer@serc.rmit.edu.au (Mick Dwyer) Date: Sun, 31 Jan 1999 22:00:28 -0700 (MST) Cc: freebsd-scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mick Dwyer wrote... > I've got a pesky SCSI scanner that likes to lock the bus as it > completes a scan. i.e., it doesn't disconnect. :) > For 2.2.x I just used an old 5380 scsi adaptor for this scanner (on its > own). Having moved to 3.0 for Advansys SCSI support I find that the nca > device is nolonger available. Correct. > Should I even consider porting the nca code to CAM? > > I'm tempted, so are there some suggestion or advice that > may guide me? You're more than welcome to give it a shot. As far as I know, no one is working on porting that driver at the moment. One thing to keep in mind is that there isn't much in the way of FreeBSD-specific documentation describing the interface between the transport layer (xpt) and the HBA drivers. There are three things to look at: Justin's paper on CAM from USENIX '98: http://www.FreeBSD.ORG/~gibbs/ The CAM-2 and CAM-3 specs: http://www.symbios.com/x3t10/drafts.htm#SWLAY And there are of course a number of other drivers that are available as examples. If you've got specific questions, you can probably ask Justin Gibbs , since he wrote most of the bottom half of the CAM code. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message