diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-08-25 14:36:19 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-12 10:35:22 -0400 |
commit | 0d6e61bc6a4f3f54444b088ae6d447f1703a21dd (patch) | |
tree | 20594eed50ae777518a1b5d9f3c6dd81cb110dfc /drivers/scsi/qla2xxx/qla_isr.c | |
parent | d970432c48ab8dd28216e80942723aeb505b623e (diff) |
[SCSI] qla2xxx: Correct various NPIV issues.
* Consolidate vport-count processing.
* Correct vp_idx restrictions during RSCN processing.
* Push topology verification check to qla2x00_do_dpc_all_vps().
* Don't skip vport full-login-lip/lip-reset mailbox handling.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 27db6246ca3e..b20a7169aac2 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -685,8 +685,9 @@ skip_rio: | |||
685 | if (vha->vp_idx && test_bit(VP_SCR_NEEDED, &vha->vp_flags)) | 685 | if (vha->vp_idx && test_bit(VP_SCR_NEEDED, &vha->vp_flags)) |
686 | break; | 686 | break; |
687 | /* Only handle SCNs for our Vport index. */ | 687 | /* Only handle SCNs for our Vport index. */ |
688 | if (vha->vp_idx != (mb[3] & 0xff)) | 688 | if (ha->flags.npiv_supported && vha->vp_idx != (mb[3] & 0xff)) |
689 | break; | 689 | break; |
690 | |||
690 | DEBUG2(printk("scsi(%ld): Asynchronous RSCR UPDATE.\n", | 691 | DEBUG2(printk("scsi(%ld): Asynchronous RSCR UPDATE.\n", |
691 | vha->host_no)); | 692 | vha->host_no)); |
692 | DEBUG(printk(KERN_INFO | 693 | DEBUG(printk(KERN_INFO |