Nat Lanza wrote:
>
> 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.
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message