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 the Parallel Protocol Request message.



details:   https://anonhg.NetBSD.org/src/rev/64d4660124a9
branches:  trunk
changeset: 526007:64d4660124a9
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Apr 23 09:46:51 2002 +0000

description:
Add the Parallel Protocol Request message.

diffstat:

 sys/dev/scsipi/scsi_message.h |  20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r b7cb5383228f -r 64d4660124a9 sys/dev/scsipi/scsi_message.h
--- a/sys/dev/scsipi/scsi_message.h     Tue Apr 23 09:16:09 2002 +0000
+++ b/sys/dev/scsipi/scsi_message.h     Tue Apr 23 09:46:51 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsi_message.h,v 1.7 2001/11/04 12:03:03 tsutsui Exp $ */
+/*     $NetBSD: scsi_message.h,v 1.8 2002/04/23 09:46:51 bouyer Exp $  */
 
 /* Messages (1 byte) */                     /* I/T (M)andatory or (O)ptional */
 #define MSG_CMDCOMPLETE                0x00 /* M/M */
@@ -44,6 +44,24 @@
 #define MSG_EXT_WDTR_BUS_16_BIT        0x01
 #define MSG_EXT_WDTR_BUS_32_BIT        0x02 
 
+#define MSG_EXT_PPR            0x04
+#define MSG_EXT_PPR_LEN                0x06
+/*
+ * Offsets:    0x3: transfer period factor
+ *             0x4: reserved
+ *             0x5: REQ/ACK offset
+ *             0x6: transfer width exponent
+ *             0x7: flags
+ */
+#define MSG_EXT_PPR_IU         0x01
+#define MSG_EXT_PPR_DT         0x02
+#define MSG_EXT_PPR_QAS                0x04
+#define MSG_EXT_PPR_HOLDMCS    0x08
+#define MSG_EXT_PPR_WRFLOW     0x10
+#define MSG_EXT_PPR_RDSTRM     0x20
+#define MSG_EXT_PPR_RTI                0x40
+#define MSG_EXT_PPR_PCOM       0x80
+
 #define MSG_ISEXTENDED(m)      ((m) == MSG_EXTENDED)
 
 /* message length */



Home | Main Index | Thread Index | Old Index