From 1cfa1e7f87b23677116719eb929c73aef8407fd5 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Sat, 29 May 2021 02:34:57 +0300 Subject: [PATCH] Makefile: switch to qla-32gbit by default Bart Van Assche noted that currently there are more people using the 32gbit driver than there are people using the older one. So it might make sense to finally make switch and default to the 32gbit driver. --- Makefile | 13 ++++--------- README.md | 15 +++++++-------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index 8854a200c..7640e6c0d 100644 --- a/Makefile +++ b/Makefile @@ -37,17 +37,12 @@ ifdef KDIR endif endif -ifdef QLA_32GBIT - ifneq ($(QLA_32GBIT),no) - QLA_INI_DIR=qla2x00t-32gbit - QLA_DIR=qla2x00t-32gbit/qla2x00-target - else - QLA_INI_DIR=qla2x00t - QLA_DIR=qla2x00t/qla2x00-target - endif -else +ifeq ($(QLA_32GBIT),no) QLA_INI_DIR=qla2x00t QLA_DIR=qla2x00t/qla2x00-target +else + QLA_INI_DIR=qla2x00t-32gbit + QLA_DIR=qla2x00t-32gbit/qla2x00-target endif SCST_DIR=scst diff --git a/README.md b/README.md index c45a64c24..241eec1c5 100644 --- a/README.md +++ b/README.md @@ -17,14 +17,13 @@ file. ## QLogic target driver -Two QLogic target drivers are included in the SCST project. The driver in -the qla2x00t directory is a very stable driver that supports up to 16 Gb/s -adapters. It is very stable, well tested and actively used in many production -setups. +Two QLogic target drivers are included in the SCST project. -There is also a newer driver that supports 32 Gb/s FC in the qla2x00t-32gbit -directory. That driver has not yet reached the same maturity level as the -old qla2x00t driver. It can be enabled by setting `QLA_32GBIT=y` variable -while compiling. +The default driver is located in qla2x00t-32gbit directory and it supports up +to 32 Gb/s FC. It is the newer one. + +May anyone wish to switch back to the older driver that only supported up to +16 Gb/s adapters, it is located in qla2x00t directory. To make use of the +older driver build scst with environment variable `QLA_32GBIT=no` set. Vladislav Bolkhovitin , http://scst.sourceforge.net