kernel/cam: Add CAM_SCSI_IT_NEXUS_LOST (in preparation for virtio_scsi(4)).
authorSascha Wildner <saw@online.de>
Sun, 30 Jul 2017 19:21:29 +0000 (21:21 +0200)
committerSascha Wildner <saw@online.de>
Sun, 30 Jul 2017 19:21:29 +0000 (21:21 +0200)
sys/bus/cam/cam.c
sys/bus/cam/cam.h

index aef4123..15c399b 100644 (file)
@@ -86,6 +86,7 @@ const struct cam_status_entry cam_status_table[] = {
        { CAM_UNREC_HBA_ERROR,   "Unrecoverable Host Bus Adapter Error"      },
        { CAM_REQ_TOO_BIG,       "The request was too large for this host"   },
        { CAM_REQUEUE_REQ,       "Unconditionally Re-queue Request",         },
+       { CAM_SCSI_IT_NEXUS_LOST,"Initiator/Target Nexus Lost"               },
        { CAM_IDE,               "Initiator Detected Error Message Received" },
        { CAM_RESRC_UNAVAIL,     "Resource Unavailable"                      },
        { CAM_UNACKED_EVENT,     "Unacknowledged Event by Host"              },
index 7448a3e..6294660 100644 (file)
@@ -130,6 +130,7 @@ typedef enum {
                                 * requests for the target at the sim level
                                 * back into the XPT queue.
                                 */
+       CAM_SCSI_IT_NEXUS_LOST  = 0x1d,/* Initiator/Target Nexus lost. */
        CAM_IDE = 0x33,         /* Initiator Detected Error */
        CAM_RESRC_UNAVAIL,      /* Resource Unavailable */
        CAM_UNACKED_EVENT,      /* Unacknowledged Event by Host */