mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
qla2x00t: Display a clear error message if the kernel is too old
For the people who try to build this driver before reading qla2x00t/qla2x00-target/README. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4510 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
*
|
||||
* See LICENSE.qla2xxx for copyright and licensing details.
|
||||
*/
|
||||
#include "qla_def.h"
|
||||
|
||||
#include <linux/moduleparam.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/delay.h>
|
||||
@@ -13,11 +11,16 @@
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/version.h>
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26)
|
||||
#error Kernel 2.6.26 or above is needed to build the qla2x00t driver
|
||||
#endif
|
||||
|
||||
#include <scsi/scsi_tcq.h>
|
||||
#include <scsi/scsicam.h>
|
||||
#include <scsi/scsi_transport.h>
|
||||
#include <scsi/scsi_transport_fc.h>
|
||||
|
||||
#include "qla_def.h"
|
||||
#include "qla2x_tgt.h"
|
||||
|
||||
#ifndef RHEL_RELEASE_VERSION
|
||||
|
||||
Reference in New Issue
Block a user