mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 06:06:23 +00:00
scst: Fix build on 2.6.31 and earlier kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4349 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -320,6 +320,11 @@ enum scst_cdb_flags {
|
||||
#define SAI_READ_CAPACITY_16 0x10
|
||||
#endif
|
||||
#endif
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
|
||||
#ifndef SAI_GET_LBA_STATUS
|
||||
#define SAI_GET_LBA_STATUS 0x12
|
||||
#endif
|
||||
#endif
|
||||
#ifndef GENERATING_UPSTREAM_PATCH
|
||||
#ifndef REPORT_LUNS
|
||||
#define REPORT_LUNS 0xa0
|
||||
|
||||
Reference in New Issue
Block a user