From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 22 21:47:05 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 561DB16A4CE for ; Mon, 22 Mar 2004 21:47:05 -0800 (PST) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id D319243D3F for ; Mon, 22 Mar 2004 21:47:04 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id i2N5l3LX051025; Mon, 22 Mar 2004 22:47:03 -0700 (MST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id i2N5l3v6051024; Mon, 22 Mar 2004 22:47:03 -0700 (MST) (envelope-from ken) Date: Mon, 22 Mar 2004 22:47:03 -0700 From: "Kenneth D. Merry" To: Mahesh Message-ID: <20040323054703.GA50940@panzer.kdm.org> References: <011f01c40f00$567659f0$63221a9c@mahesh> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <011f01c40f00$567659f0$63221a9c@mahesh> User-Agent: Mutt/1.4.1i cc: freebsd-scsi@freebsd.org Subject: Re: target driver question X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 05:47:05 -0000 On Sat, Mar 20, 2004 at 20:52:39 -0800, Mahesh wrote: > Dear Sir > > I am working on the master's project and would like to do on Linux fiber > channel target emulator.is there source code for this which I can work > on ..or download site where I can test. please suggest as to how should > I go in implementing this. My guess is that your master's project is really just something that will use a target emulator, and isn't about how to write one. If so, you'll get something that works reasonably well out of the box with FreeBSD. Linux doesn't offer a whole lot in the way of target emulators. Mark Terribile already pointed out the UNH stuff, which is probably most of what is out there. (The isp(4) driver for Linux does have a very minimal target emulator that I think responds to INQUIRY and a few other things, but that's really most of what it does.) Although it'll depend on the specific goals of your project, using what is already working in FreeBSD might allow you to concentrate on doing your project rather than building the infrastructure for it. Ken -- Kenneth Merry ken@kdm.org