From 6ce612a6b991d572c54956af29bed6bb843a4118 Mon Sep 17 00:00:00 2001 From: Andrew Vasquez Date: Mon, 19 Jan 2004 02:03:48 -0500 Subject: [PATCH] [PATCH] No LUNs detected with qla2xxx / qla2300 The problem is during the removal of the failover and IOCTL code from the scsi-qla2xxx-2.6 tree, one critical piece of code (a one-liner) was inadvertently removed that effectively disables the drivers ability to bind fcports (devices found in the loop or fabric) to the SCSI nexus (h/b/t/l). --- drivers/scsi/qla2xxx/qla_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 488ec1bcfc7fc..3adb1adbd2520 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -1592,6 +1592,8 @@ qla2x00_configure_loop(scsi_qla_host_t *ha) if (!atomic_read(&ha->loop_down_timer) && !(test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))) { + qla2x00_config_os(ha); + /* If we found all devices then go ready */ if (!(test_bit(LOGIN_RETRY_NEEDED, &ha->dpc_flags))) { atomic_set(&ha->loop_state, LOOP_READY); -- 2.53.0