[lkml]   [1996]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectscsi header not right yet (1.3.98)

<scsi/scsi_ioctl.h> refers to 'Scsi_Device' type but it is not defined in
a global area (it is in linux/drivers/scsi/scsi.h).

Now, I need SCSI_IOCTL_SEND for an sg based program, and it is in scsi_ioctl.h.

So I try and include "/linux/drivers/scsi/scsi.h",
which wants 'struct request' from <linux/blkdev.h>
which is still missing 'kdev_t'...
and all I wanted was the ioctl constant.

Do we need scsi_ioctl() and kernel_scsi_ioctl() to be made user visible anyway?

I think that we need a header usable for user programs and a nother usable
for kernel drivers.

 \ /
  Last update: 2005-03-22 13:37    [W:0.028 / U:2.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site