Date: Tue, 04 Jul 2000 17:50:28 -0400 From: Sergey Babkin <babkin@bellatlantic.net> To: Nat Lanza <magus@cs.cmu.edu> Cc: Mike Smith <msmith@freebsd.org>, scsi@freebsd.org, hackers@freebsd.org Subject: Re: SCSI HBA device detection? Message-ID: <39625C24.5D49AF08@bellatlantic.net> References: <200007040146.SAA00380@mass.osd.bsdi.com> <uoc66qm4pen.fsf@hurlame.pdl.cs.cmu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Nat Lanza wrote: > > Mike Smith <msmith@freebsd.org> writes: > > > If this is meant to be an exercise in writing a CAM HBA driver, then you > > need to teach your disk-emulation code about the basic SCSI commands > > (INQUIRY, TEST UNIT READY, etc). The SCSI infrastructure will use these > > commands to automatically detect your drives. > > I already have code for handling the basic SCSI commands (I'm really > porting a scsi-ramdisk driver from Linux rather than writing from > scratch). The bit I'm curious about are which XPT actions I'll need to > support other than XPT_PATH_INQ and XPT_SCSI_IO. The tutorial in DaemonNews has this information, as well as information on minimal implementations of the reqired actions. Obviously the actions for SCSI negotiations don't need to be supported because these negotiations make no sense for an emulator or over IP. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39625C24.5D49AF08>