summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2001-04-08 03:16:11 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2001-04-08 03:16:11 +0000
commitef163d7101a542564e54270a789bb3623ce015cd (patch)
tree8e445fefa4eb007dcfbf5d13d3bb507cb0d1eb38 /sys/scsi
parente031e8b2df5d3a7023255224246a4b6126e121df (diff)
Add one more 1 byte (reserved, as defined in spc-2) field to the
scsi_inquiry_data structure. The last commit made the structure 57 bytes long, an odd number. This caused problems with at least two drivers, which were not prepared to handle the IGNORE WIDE RESIDUE message during probing. This message apparently being generated during probes of non-existant LUNs. Problem found on siop by Rev. Chris Cappuccio and on iha by Andreas Gunnarsson <andreas@zzlevo.net>.
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/scsi_all.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/scsi/scsi_all.h b/sys/scsi/scsi_all.h
index 509955ae009..5211bac8923 100644
--- a/sys/scsi/scsi_all.h
+++ b/sys/scsi/scsi_all.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_all.h,v 1.9 2001/04/02 17:11:25 krw Exp $ */
+/* $OpenBSD: scsi_all.h,v 1.10 2001/04/08 03:16:10 krw Exp $ */
/* $NetBSD: scsi_all.h,v 1.10 1996/09/12 01:57:17 thorpej Exp $ */
/*
@@ -242,6 +242,7 @@ struct scsi_inquiry_data {
#define SID_IUS 0x01
#define SID_QAS 0x02
#define SID_CLOCKING 0x0c /* 0 == ST only, 1 == DT only, 3 == both */
+ u_int8_t reserved;
};
struct scsi_sense_data_unextended {