Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/scsipi scsi_sense_data: add comments taken from src/...



details:   https://anonhg.NetBSD.org/src/rev/1fb599775fdd
branches:  trunk
changeset: 751527:1fb599775fdd
user:      cegger <cegger%NetBSD.org@localhost>
date:      Sat Feb 06 23:13:59 2010 +0000

description:
scsi_sense_data: add comments taken from src/sys/dev/ieee1394/sbp.h

diffstat:

 sys/dev/scsipi/scsi_spc.h |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r a67926d75c40 -r 1fb599775fdd sys/dev/scsipi/scsi_spc.h
--- a/sys/dev/scsipi/scsi_spc.h Sat Feb 06 22:32:07 2010 +0000
+++ b/sys/dev/scsipi/scsi_spc.h Sat Feb 06 23:13:59 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsi_spc.h,v 1.4 2008/04/28 20:23:57 martin Exp $      */
+/*     $NetBSD: scsi_spc.h,v 1.5 2010/02/06 23:13:59 cegger Exp $      */
 
 /*-
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -431,11 +431,11 @@
 #define        SSD_EOM                 0x40
 #define        SSD_FILEMARK            0x80
 /* 7*/ uint8_t info[4];
-/* 8*/ uint8_t extra_len;
-/*12*/ uint8_t csi[4];
-/*13*/ uint8_t asc;
-/*14*/ uint8_t ascq;
-/*15*/ uint8_t fru;
+/* 8*/ uint8_t extra_len;              /* Additional sense length */
+/*12*/ uint8_t csi[4];                 /* Command-specific information */
+/*13*/ uint8_t asc;                    /* Additional sense code */
+/*14*/ uint8_t ascq;                   /* Additional sense code qualifier */
+/*15*/ uint8_t fru;                    /* Field replaceable unit code */
        union {
                uint8_t sks_bytes[3];
 
@@ -468,7 +468,7 @@
 #define        SSD_SKS_SP_SD           0x20    /* 0=param list, 1=segment desc */
                        uint8_t val[2];
                } segment_pointer;
-/*18*/ } sks;
+/*18*/ } sks;                          /* Sense-key specific */
 #define        SSD_SKSV                0x80    /* byte0 of sks field */
 /*32*/ uint8_t extra_bytes[14];        /* really variable length */
 };



Home | Main Index | Thread Index | Old Index