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 Force Unit Access and Disable Page Ou...



details:   https://anonhg.NetBSD.org/src/rev/ad44ea310c93
branches:  trunk
changeset: 514434:ad44ea310c93
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Sep 02 20:17:04 2001 +0000

description:
Add the Force Unit Access and Disable Page Out bits to the
READ(10) and WRITE(10) commands.

diffstat:

 sys/dev/scsipi/scsipi_disk.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r a2f64587d738 -r ad44ea310c93 sys/dev/scsipi/scsipi_disk.h
--- a/sys/dev/scsipi/scsipi_disk.h      Sun Sep 02 19:53:40 2001 +0000
+++ b/sys/dev/scsipi/scsipi_disk.h      Sun Sep 02 20:17:04 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsipi_disk.h,v 1.5 1998/02/13 08:28:55 enami Exp $    */
+/*     $NetBSD: scsipi_disk.h,v 1.6 2001/09/02 20:17:04 thorpej Exp $  */
 
 /*
  * SCSI and SCSI-like interfaces description
@@ -59,6 +59,8 @@
        u_int8_t opcode;
        u_int8_t byte2;
 #define        SRWB_RELADDR    0x01
+#define        SRWB_FUA        0x08    /* force unit access */
+#define        SRWB_DPO        0x10    /* disable page out */
        u_int8_t addr[4];
        u_int8_t reserved;
        u_int8_t length[2];



Home | Main Index | Thread Index | Old Index