[SCSI] Return ENODATA on medium error
[deliverable/linux.git] / include / scsi / scsi.h
index d0387d84dd6839f99bc91bf614db60c61902cf6c..d477bfb73fb9261399d750f286ae92c8af8b27ef 100644 (file)
@@ -458,6 +458,7 @@ static inline int scsi_is_wlun(unsigned int lun)
 #define DID_NEXUS_FAILURE 0x11  /* Permanent nexus failure, retry on other
                                 * paths might yield different results */
 #define DID_ALLOC_FAILURE 0x12  /* Space allocation on the device failed */
+#define DID_MEDIUM_ERROR  0x13  /* Medium error */
 #define DRIVER_OK       0x00   /* Driver status                           */
 
 /*
This page took 0.026104 seconds and 5 git commands to generate.