From 44f66ea7c0c363b826dda0313ff3c9cb0bfd96b4 Mon Sep 17 00:00:00 2001 From: Constantine Sapuntzakis Date: Sun, 18 Jul 1999 22:49:42 +0000 Subject: Added SDEV_NOSENSE for ATAPI devices without request sense. --- sys/scsi/scsiconf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/scsi') 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 */ -- cgit v1.2.3