From f9caa65e7c3d5a089cbc2dcc0ac8d7fad716ea58 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 21 Jun 2012 06:25:58 +0000 Subject: [PATCH] Builds again against kernel 2.6.37 and earlier git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4371 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 e3479a690..f8c7fa5ad 100644 --- a/scst/include/scst_const.h +++ b/scst/include/scst_const.h @@ -317,6 +317,11 @@ enum scst_cdb_flags { #ifndef VERIFY_16 #define VERIFY_16 0x8f #endif +#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 37) +#ifndef MI_REPORT_IDENTIFYING_INFORMATION +#define MI_REPORT_IDENTIFYING_INFORMATION 0x05 +#endif +#endif #ifndef SERVICE_ACTION_IN #define SERVICE_ACTION_IN 0x9e #endif