scsi header not right yet (1.3.98)

Eyal Lebedinsky (eyal@fir.canberra.edu.au)
Sun, 5 May 1996 11:25:47 +1000 (EST)


Hi,

<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.