]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitf4a8dbc7f6ca8c0a7ec4f112320899b6b77d7e17
treea54baadb6dc47d7a0ff9133cbbdca5521541c514
parenteb66dc60be5a72bc940458a5adfd400e4d810d49
[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