summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2005-04-06 00:00:10 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2005-04-06 00:00:10 +0000
commitf8fbf3df373294bfcd5b7d4f8960a4661f21c25a (patch)
treea9a622ece446637b15288c2008b6f3a0ce1c4723 /sys/scsi
parent7c5d0dd212ebb7f179c69258a748605abce0119d (diff)
Add RECEIVE_DIAGNOSTIC & SEND_DIAGNOSTIC #defines for SES.
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/scsi_all.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/scsi/scsi_all.h b/sys/scsi/scsi_all.h
index b2b617cbf83..1505a35ef64 100644
--- a/sys/scsi/scsi_all.h
+++ b/sys/scsi/scsi_all.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_all.h,v 1.18 2004/12/18 18:23:53 krw Exp $ */
+/* $OpenBSD: scsi_all.h,v 1.19 2005/04/06 00:00:09 marco Exp $ */
/* $NetBSD: scsi_all.h,v 1.10 1996/09/12 01:57:17 thorpej Exp $ */
/*
@@ -161,10 +161,12 @@ struct scsi_prevent {
#define REQUEST_SENSE 0x03
#define INQUIRY 0x12
#define MODE_SELECT 0x15
-#define MODE_SENSE 0x1a
-#define START_STOP 0x1b
#define RESERVE 0x16
#define RELEASE 0x17
+#define MODE_SENSE 0x1a
+#define START_STOP 0x1b
+#define RECEIVE_DIAGNOSTIC 0x1c
+#define SEND_DIAGNOSTIC 0x1d
#define PREVENT_ALLOW 0x1e
#define POSITION_TO_ELEMENT 0x2b
#define CHANGE_DEFINITION 0x40