diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-10-08 01:50:49 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-10-08 01:50:49 +0000 |
commit | 7e1a4e8de5263ffbecebd9dd292fa6991bcf1a7b (patch) | |
tree | 49b07786294ba137a01763fc1883eb4928ddc79a /sys/scsi/scsiconf.h | |
parent | c8df2c18c3cfe119097f876dc7c0851722649261 (diff) |
Add a new quirk type, SDEV_NOCDB6, some USB devices like ATAPI
do not support 6 byte CDBs.
This quirk is used for OLYMPUS USB cameras.
Loosely based on code in FreeBSD.
ok costa@
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r-- | sys/scsi/scsiconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index 323e57efb0a..02312728ac4 100644 --- a/sys/scsi/scsiconf.h +++ b/sys/scsi/scsiconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.h,v 1.29 2001/08/25 19:29:16 fgsch Exp $ */ +/* $OpenBSD: scsiconf.h,v 1.30 2001/10/08 01:50:48 drahn Exp $ */ /* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */ /* @@ -185,6 +185,7 @@ struct scsi_link { #define ADEV_NOCAPACITY 0x0800 #define ADEV_NOTUR 0x1000 #define ADEV_NODOORLOCK 0x2000 +#define SDEV_NOCDB6 0x4000 /* does not support 6 byte CDB */ u_int8_t inquiry_flags; /* copy of flags from probe INQUIRY */ u_int8_t inquiry_flags2; /* copy of flags2 from probe INQUIRY */ struct scsi_device *device; /* device entry points etc. */ |