From 00301a314b8169de41157414fd8d4d172f54e17f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 3 Oct 2015 04:33:27 +0000 Subject: [PATCH] scst_const.h: Add DID_TARGET_FAILURE for older kernel versions git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6529 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst_const.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scst/include/scst_const.h b/scst/include/scst_const.h index 7d8ded58d..cdb4a4a6a 100644 --- a/scst/include/scst_const.h +++ b/scst/include/scst_const.h @@ -646,6 +646,11 @@ enum scst_tg_sup { #define DID_TRANSPORT_FAILFAST 0xf #endif +/* See also patch "Add detailed SCSI I/O errors" (commit ID 63583cca745f) */ +#ifndef DID_TARGET_FAILURE +#define DID_TARGET_FAILURE 0x10 +#endif + #ifndef DID_NEXUS_FAILURE #define DID_NEXUS_FAILURE 0x11 #endif