On Sun, Aug 06, 2000 at 06:41:49PM +0200, Sergey Vichik wrote:
>       I need to send scsi command to device from kernel space ( not from
> any kind of scsi driver ).
> Sending scsi command from user space is very simple task : for example issue
> ioctl to scsi disk, 
> but I cannot find how it can be done from kernel space.
> 
> Please let me know how it can be done.

Look at the INQUIRY code at the end of tmscsim.
Basically, it's half-copied from scsi.c ...

Regards,
-- 
Kurt Garloff  <[EMAIL PROTECTED]>                          Eindhoven, NL
GPG key: See mail header, key servers         Linux kernel development
SuSE GmbH, Nuernberg, FRG                               SCSI, Security

PGP signature

Reply via email to