[141] in linux-scsi channel archive
Re: SCSI defines for pass-thru commands
daemon@ATHENA.MIT.EDU (Drew Eckhardt)
Fri Apr 14 03:18:54 1995
To: Jim Freeman <jfree@caldera.com>
cc: linux-scsi@vger.rutgers.edu, linux-kernel@vger.rutgers.edu
In-reply-to: Your message of "Thu, 13 Apr 1995 20:23:59 MDT."
<199504140223.UAA06324@caldera.com>
Date: Fri, 14 Apr 1995 00:12:59 MDT
From: Drew Eckhardt <drew@boulder.openware.com>
In message <199504140223.UAA06324@caldera.com>, jfree@caldera.com writes:
>Should the SCSI constants defined in /usr/src/linux/drivers/scsi/scsi.h
>capable of being sent via SCSI pass-thru commands be defined in a
>non-kernel include file for use applications?
Yes.
>It seems bad form to have a
> #include "/usr/src/linux/drivers/scsi/scsi.h"
>line in a user-space application. Nor does it seem right to duplicate
>these defines for an application. I'd vote to have them defined once,
>in a <linux/scsi.h>, then have that included in the kernel include file.
>
>Comments?
Various pieces of scsi.h, scsi_ioctl.h, etc. should all move to a
user level include file; the reason they stayed where they are is
a throw back to Linux 0.12 and 0.95 when the SCSI subsystem was
essentially a separate distribution and I didn't support SCSI commands
to/from user space.