Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi Add a couple of defines/aliases for messages.
details: https://anonhg.NetBSD.org/src/rev/5e0c8ee3a602
branches: trunk
changeset: 483648:5e0c8ee3a602
user: fvdl <fvdl%NetBSD.org@localhost>
date: Wed Mar 15 02:02:37 2000 +0000
description:
Add a couple of defines/aliases for messages.
diffstat:
sys/dev/scsipi/scsi_message.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r c9b02c06162c -r 5e0c8ee3a602 sys/dev/scsipi/scsi_message.h
--- a/sys/dev/scsipi/scsi_message.h Wed Mar 15 00:38:40 2000 +0000
+++ b/sys/dev/scsipi/scsi_message.h Wed Mar 15 02:02:37 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsi_message.h,v 1.3 1998/01/05 07:31:13 perry Exp $ */
+/* $NetBSD: scsi_message.h,v 1.4 2000/03/15 02:02:37 fvdl Exp $ */
/* Messages (1 byte) */ /* I/T (M)andatory or (O)ptional */
#define MSG_CMDCOMPLETE 0x00 /* M/M */
@@ -28,6 +28,7 @@
/* Identify message */ /* M/M */
#define MSG_IDENTIFYFLAG 0x80
+#define MSG_IDENTIFY_DISCFLAG 0x40
#define MSG_IDENTIFY(lun, disc) (((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun))
#define MSG_ISIDENTIFY(m) ((m) & MSG_IDENTIFYFLAG)
@@ -37,3 +38,7 @@
#define MSG_EXT_WDTR 0x03
#define MSG_EXT_WDTR_LEN 0x02
+
+#define MSG_EXT_WDTR_BUS_8_BIT 0x00
+#define MSG_EXT_WDTR_BUS_16_BIT 0x01
+#define MSG_EXT_WDTR_BUS_32_BIT 0x02
Home |
Main Index |
Thread Index |
Old Index