Author: mav
Date: Sun Aug  3 10:02:14 2014
New Revision: 269469
URL: http://svnweb.freebsd.org/changeset/base/269469

Log:
  Do not retry token errors. They are not going to disappear by themselves.
  
  MFC after:    1 week

Modified:
  head/sys/cam/scsi/scsi_all.c

Modified: head/sys/cam/scsi/scsi_all.c
==============================================================================
--- head/sys/cam/scsi/scsi_all.c        Sun Aug  3 09:53:34 2014        
(r269468)
+++ head/sys/cam/scsi/scsi_all.c        Sun Aug  3 10:02:14 2014        
(r269469)
@@ -1592,37 +1592,37 @@ static struct asc_table_entry asc_table[
        { SST(0x22, 0x00, SS_FATAL | EINVAL,
            "Illegal function (use 20 00, 24 00, or 26 00)") },
        /* DT P      B    */
-       { SST(0x23, 0x00, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x00, SS_FATAL | EINVAL,
            "Invalid token operation, cause not reportable") },
        /* DT P      B    */
-       { SST(0x23, 0x01, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x01, SS_FATAL | EINVAL,
            "Invalid token operation, unsupported token type") },
        /* DT P      B    */
-       { SST(0x23, 0x02, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x02, SS_FATAL | EINVAL,
            "Invalid token operation, remote token usage not supported") },
        /* DT P      B    */
-       { SST(0x23, 0x03, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x03, SS_FATAL | EINVAL,
            "Invalid token operation, remote ROD token creation not supported") 
},
        /* DT P      B    */
-       { SST(0x23, 0x04, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x04, SS_FATAL | EINVAL,
            "Invalid token operation, token unknown") },
        /* DT P      B    */
-       { SST(0x23, 0x05, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x05, SS_FATAL | EINVAL,
            "Invalid token operation, token corrupt") },
        /* DT P      B    */
-       { SST(0x23, 0x06, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x06, SS_FATAL | EINVAL,
            "Invalid token operation, token revoked") },
        /* DT P      B    */
-       { SST(0x23, 0x07, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x07, SS_FATAL | EINVAL,
            "Invalid token operation, token expired") },
        /* DT P      B    */
-       { SST(0x23, 0x08, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x08, SS_FATAL | EINVAL,
            "Invalid token operation, token cancelled") },
        /* DT P      B    */
-       { SST(0x23, 0x09, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x09, SS_FATAL | EINVAL,
            "Invalid token operation, token deleted") },
        /* DT P      B    */
-       { SST(0x23, 0x0A, SS_RDEF,      /* XXX TBD */
+       { SST(0x23, 0x0A, SS_FATAL | EINVAL,
            "Invalid token operation, invalid token length") },
        /* DTLPWROMAEBKVF */
        { SST(0x24, 0x00, SS_FATAL | EINVAL,
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to