Re: accessing the scsi disk from a kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux