On Sun, 2007-03-04 at 00:36 -0700, Dachepalli, Sudhir wrote: > Our driver gets called in with the following fashion through the > queuecommand. > > scsi_request_fn() -> scsi_dispatch_cmd() -> rtn = > host->hostt->queuecommand(cmd, scsi_done); > > We are using the "cmd" ( scsi_cmnd) as a pass through with out touching > the "request_buffer" and "request_bufflen". > > We do not allocate memory similar to sg or st for page allocations. > > The request_buffer should already contain the scatter gather list built. We're trying not to wrapper pass throughs in SCSI commands (unless defined by standard like the ATA ones). However, I'm not entirely sure what you're trying to do ... can you post a link to the driver so that we can see if there's a better way? Thanks, James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html