Mike Smith <[EMAIL PROTECTED]> 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.
> If you're writing a generic ramdisk, this is a really masochistic way to
> go about doing it. 8)
It's really a mix of an exercise in writing a CAM HBA driver and a
first step towards a SCSI-over-IP driver. Also, a SCSI ramdisk can be
handy for some of the benchmarking and tracing we do.
--nat
--
nat lanza --------------------- research programmer, parallel data lab, cmu scs
[EMAIL PROTECTED] -------------------------------- http://www.cs.cmu.edu/~magus/
there are no whole truths; all truths are half-truths -- alfred north whitehead
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message