From owner-freebsd-scsi Mon Jun 3 22: 8:20 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id B78DC37B401 for ; Mon, 3 Jun 2002 22:08:16 -0700 (PDT) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g5458Bj20125; Mon, 3 Jun 2002 22:08:11 -0700 (PDT) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id WAA29287; Mon, 3 Jun 2002 22:08:11 -0700 (PDT) Received: from hollin.btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id XAA16939; Mon, 3 Jun 2002 23:08:09 -0600 (MDT) Received: from hollin.btc.adaptec.com (localhost [127.0.0.1]) by hollin.btc.adaptec.com (8.12.3/8.12.3) with ESMTP id g5455QrP012427; Mon, 3 Jun 2002 23:05:26 -0600 (MDT) (envelope-from scottl@hollin.btc.adaptec.com) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.12.3/8.12.3/Submit) id g5455QIG012426; Mon, 3 Jun 2002 23:05:26 -0600 (MDT) Date: Mon, 3 Jun 2002 23:05:26 -0600 From: Scott Long To: Chuck McCrobie Cc: freebsd-scsi@freebsd.org Subject: Re: Support for Fujitsu MB89352 Message-ID: <20020604050526.GC12360@hollin.btc.adaptec.com> References: <3CFC4770.B70D34F8@cablespeed.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CFC4770.B70D34F8@cablespeed.com> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jun 04, 2002 at 12:52:00AM -0400, Chuck McCrobie wrote: > I have a Fujitsu PCMCIA SCSI card which identifies itself as "EIGER LAB > EPX-SS1000". Having no success identifying a driver, I took the card > apart and found a "Fujitsu MB89352" SCSI controller chip. > > Evidently, NetBSD has support for this chip and presumbly, the card. My > question is this: > > 1. Is anyone working on support for the Fujitsu MB89352 chip? Cannot say. I didn't know that such a beast existed. > 2. How hard is it to port the NetBSD driver over? > a. Are host bus adapter drivers compatible between NetBSD and FreeBSD? Not in the least, tiniest bit. The biggest difference is in the SCSI layers of the two. Porting it would not be a trivial task. Your best bet is to start a new driver, and use the NetBSD one as a reference. > b. What would be a good driver to get the skeleton of a host bus > adapter > can "drop-in" the MB89352 support? There are no skeleton drivers out there that I know of. Daemonnews had an article two years ago about how to write a CAM driver (CAM is the SCSI layer in FreeBSD), but I can't find the link at the moment. There are several well-written drivers in the tree right now that can be used as reference, like the aic7xxx driver. > > My ultimate goal is to get a Linux (ugh!) driver for this chip so I can > use it with my Sharp Zaurus ;) > > So, my next questions: > > 1. Is anyone here familiar with the Linux SCSI host adapter drivers? You don't want to get involved with Linux SCSI drivers. The Linux SCSI layer is very poorly designed and written, even by Linux standards. > 2. Which is an easier port - if there is such a thing: > a. FreeBSD -> Linux > b. NetBSD -> Linux All three OS's are very different beasts. Porting to Linux will be the most frustrating task by a large margin. You'll be much happier sticking to filesystems =-) Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message