]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Properly handle Vport state-change-notifications.
authorShyam Sundar <shyam.sundar@qlogic.com>
Mon, 12 Nov 2007 18:30:59 +0000 (10:30 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:22:45 +0000 (18:22 -0600)
commit1b6114bde38c97eeb036beeca8d3b6d10f011c55
treea54baadb6dc47d7a0ff9133cbbdca5521541c514
parent3d55f18d03b57cc489dd50f7db67fbeb894a5270
[SCSI] qla2xxx: Properly handle Vport state-change-notifications.

Drivers do SCRs for each Vport. When something changes in the
fabric, firmware generates one interrupt for each RSCN. Based on
the current implementation, in each case, we make recursive calls
to handle RSCN for physical and each subsequent virtual ports.
The fix is to also take into consideration the vp_idx, which is
set by the firmware to indicate the vport the RSCN was meant for.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_isr.c