On Mon, 28 Jun 2010, Subs wrote: > Hi All, > > In my class driver I am receiving data transfer buffer as number of > Scatter-Gather lists from SCSI layer to perform data transfers. > > Is there any alternate way to get the transfer buffer from SCSI other > than SG. I wanted to receive the complete data transfer buffer as a > single pointer. As far as I know, there is no alternate way to get the transfer buffer from the SCSI layer. However you can get the effect you want by setting the sg_tablesize field in your scsi_host_template to 1. Just out of curiosity, why are you writing a class driver for the BOT class? Aren't the two existing drivers in the kernel good enough? Alan Stern -- 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