diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-07-18 22:49:42 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-07-18 22:49:42 +0000 |
commit | 44f66ea7c0c363b826dda0313ff3c9cb0bfd96b4 (patch) | |
tree | 45bfcc04a1e306fe7192f182fe0251c054e6fd57 /sys/scsi | |
parent | d06f0ee47245f072734c41b75df2fdcb0d441ef2 (diff) |
Added SDEV_NOSENSE for ATAPI devices without request sense.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/scsiconf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index 4542134864b..ffe8a2dce71 100644 --- a/sys/scsi/scsiconf.h +++ b/sys/scsi/scsiconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.h,v 1.16 1998/08/04 22:35:05 millert Exp $ */ +/* $OpenBSD: scsiconf.h,v 1.17 1999/07/18 22:49:41 csapuntz Exp $ */ /* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */ /* @@ -158,6 +158,8 @@ struct scsi_link { #define SDEV_NOMODESENSE 0x10 /* removable media/optical drives */ #define SDEV_NOSTARTUNIT 0x20 /* do not issue start unit requests in sd.c */ #define SDEV_NOTAGS 0x40 /* lies about having tagged queueing */ +#define SDEV_NOSENSE 0x80 /* No request sense - ATAPI */ + u_int8_t inquiry_flags; /* copy of flags from probe INQUIRY */ struct scsi_device *device; /* device entry points etc. */ void *device_softc; /* needed for call to foo_start */ |