mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 21:51:27 +00:00
Complain if it is attempted to use the sysfs interface on a pre-2.6.26 kernel.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3285 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -36,6 +36,9 @@
|
||||
#include <linux/seq_file.h>
|
||||
#elif defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5
|
||||
#error The SCST sysfs interface is not supported on RHEL 5. Please run make enable_proc.
|
||||
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26)
|
||||
#elif defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5
|
||||
#error The SCST sysfs interface is supported from kernel version 2.6.26 on. Please run make enable_proc.
|
||||
#endif
|
||||
|
||||
#include <scsi/scsi_cmnd.h>
|
||||
|
||||
Reference in New Issue
Block a user