qla2xxx: fixes for 2.6.18 [8.01.07-k1].
Subsystems (2)
cover qla2xxx: fixes for 2.6.18 [8.01.07-k1].
This patchset updates the qla2xxx driver to 8.01.07-k1.
drivers/scsi/qla2xxx/qla_init.c | 11 +++++++++++ drivers/scsi/qla2xxx/qla_os.c | 3 --- drivers/scsi/qla2xxx/qla_version.h | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-)
here's the commits:
qla2xxx: Correct PLOGI retry logic.
qla2xxx: Properly re-enable EFT support after an ISP abort.
qla2xxx: Update version number to 8.01.07-k1.
Regards,
Andrew Vasquez
QLogic Corporation
PATCH 1/3 qla2xxx: Correct PLOGI retry logic.
Original code attempts to retry PLOGIs to fcports that are FCP_TARGETs only. If the driver never performed a successful PLOGI/PRLI, the port-type would never be assigned, and the relogin logic would silently drop the request (and thus the port would not be recognized and registered).
The fix is relatively straightforward, drop the FCP_TARGET-only check.
--- drivers/scsi/qla2xxx/qla_os.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/scsi/qla2xxx/qla_os.c +0 -3
@@ -2238,9 +2238,6 @@ qla2x00_do_dpc(void *data) next_loopid =0 ;list_for_each_entry (fcport, &ha->fcports, list) { -if (fcport->port_type !=FCT_TARGET ) -continue ; -/* * If the port is not ONLINE then try to login * to it if we haven't run out of retries.
Signature · 1 line
1.4.2.g44c10
PATCH 2/3 qla2xxx: Properly re-enable EFT support after an ISP abort.
In reply to Andrew VasquezSoftware must explicitely re-enable extended firmware tracing after any ISP abort condition.
--- drivers/scsi/qla2xxx/qla_init.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
drivers/scsi/qla2xxx/qla_init.c +11 -0
@@ -3063,6 +3063,7 @@ qla2x00_update_fcports(scsi_qla_host_t *int qla2x00_abort_isp (scsi_qla_host_t *ha) { +int rval;unsigned long flags =0 ;uint16_t cnt;srb_t *sp;
@@ -3119,6 +3120,16 @@ qla2x00_abort_isp(scsi_qla_host_t *ha) ha->isp_abort_cnt =0 ;clear_bit (ISP_ABORT_RETRY , &ha->dpc_flags); + +if (ha->eft) { + rval =qla2x00_trace_control (ha,TC_ENABLE , + ha->eft_dma,EFT_NUM_BUFFERS ); +if (rval) { +qla_printk (KERN_WARNING , ha, +"Unable to reinitialize EFT " +"(%d).\n" , rval); + } + } }else {/* failed the ISP abort */ ha->flags.online =1 ;if (test_bit (ISP_ABORT_RETRY , &ha->dpc_flags)) {
Signature · 1 line
1.4.2.g44c10
PATCH 3/3 qla2xxx: Update version number to 8.01.07-k1.
In reply to Andrew Vasquez--- drivers/scsi/qla2xxx/qla_version.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/qla2xxx/qla_version.h +2 -2
@@ -7,9 +7,9 @@/* * Driver version */ -#define QLA2XXX_VERSION "8.01.05-k4" +#define QLA2XXX_VERSION "8.01.07-k1"#define QLA_DRIVER_MAJOR_VER 8#define QLA_DRIVER_MINOR_VER 1 -#define QLA_DRIVER_PATCH_VER 5 +#define QLA_DRIVER_PATCH_VER 7#define QLA_DRIVER_BETA_VER 0
Signature · 1 line
1.4.2.g44c10