mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
qla2x00t-32gbit: Complain loudly if attempting to build against an unsupported kernel
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8572 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -48,6 +48,14 @@
|
||||
#define NEW_LIBFC_API
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0) && \
|
||||
(!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 7)
|
||||
#error
|
||||
#error ***This version of qla2xxx does not support distributions based on***
|
||||
#error ***kernels before Linux kernel v3.15.***
|
||||
#error
|
||||
#endif
|
||||
|
||||
/* Big endian Fibre Channel S_ID (source ID) or D_ID (destination ID). */
|
||||
typedef struct {
|
||||
uint8_t domain;
|
||||
|
||||
Reference in New Issue
Block a user