Re: scsi header not right yet (1.3.98)

Andries.Brouwer@cwi.nl
Tue, 7 May 1996 12:23:17 +0200


Eyal Lebedinsky:

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

--- scsi_ioctl.h~ Tue May 7 00:27:15 1996
+++ scsi_ioctl.h Tue May 7 12:16:27 1996
@@ -13,8 +13,10 @@
#define SCSI_REMOVAL_PREVENT 1
#define SCSI_REMOVAL_ALLOW 0

+#ifdef __KERNEL__
extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
extern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
+#endif

#endif