[140] in linux-scsi channel archive
SCSI defines for pass-thru commands
daemon@ATHENA.MIT.EDU (Jim Freeman)
Thu Apr 13 23:18:51 1995
From: Jim Freeman <jfree@caldera.com>
To: linux-scsi@vger.rutgers.edu
Date: Thu, 13 Apr 1995 20:23:59 -0600 (MDT)
Cc: linux-kernel@vger.rutgers.edu, drew@colorado.edu
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?
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?