On 9/30/05, Karthik Sarangan <karthiks@xxxxxxx> wrote: > what do I write in a kernel module for accessing a scsi disk device? > What do u mean by this ??? Are you writing a driver for SCSI Disk or Want to do read/write on it using its own driver ??? For read/write using its own driver you can use/call generic_make_request (function from block/ll_rw_blk.c) from your kernel module to send requests to any block device available on the system and kernel will do the creating and sending request to correct block device whether that will be a SCSI disk or any disk .... And if you want directly to use the SCSI device then you have to make requests using SCSI protocol ..... -- Fawad Lateef - : 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