summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormjacob <mjacob@cvs.openbsd.org>2000-02-21 08:18:32 +0000
committermjacob <mjacob@cvs.openbsd.org>2000-02-21 08:18:32 +0000
commit3418189d2f6d1143996481c19d5c604ef3caf0bd (patch)
tree7065d38f537bf7b2d0282005304a0315996cb2ea /sys
parenta661e965e834b3f4539a342e0086c3a1dfa7b391 (diff)
Add in Enclosure device type (0xd/13). Pad out inquiry data to 50 bytes
os that SAF-TE devices can be found.
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/scsi_all.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/scsi/scsi_all.h b/sys/scsi/scsi_all.h
index 09823d53085..f4c163f487d 100644
--- a/sys/scsi/scsi_all.h
+++ b/sys/scsi/scsi_all.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_all.h,v 1.6 1999/07/25 07:09:19 csapuntz Exp $ */
+/* $OpenBSD: scsi_all.h,v 1.7 2000/02/21 08:18:31 mjacob Exp $ */
/* $NetBSD: scsi_all.h,v 1.10 1996/09/12 01:57:17 thorpej Exp $ */
/*
@@ -203,6 +203,7 @@ struct scsi_changedef {
#define T_CHANGER 8
#define T_COMM 9
+#define T_ENCLOSURE 13
#define T_REMOV 1
#define T_FIXED 0
@@ -236,7 +237,7 @@ struct scsi_inquiry_data {
char vendor[8];
char product[16];
char revision[4];
- u_int8_t extra[8];
+ u_int8_t extra[14];
};
struct scsi_sense_data_unextended {