[SCSI] lpfc 8.3.24: Add resource extent support
This patch adds support for hardware that returns resource ids via extents rather than contiguous ranges. [jejb: checkpatch.pl fixes] Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <jbottomley@parallels.com>
This commit is contained in:

committato da
James Bottomley

parent
52d5244096
commit
6d368e5321
@@ -83,7 +83,7 @@ inline void lpfc_vport_set_state(struct lpfc_vport *vport,
|
||||
static int
|
||||
lpfc_alloc_vpi(struct lpfc_hba *phba)
|
||||
{
|
||||
int vpi;
|
||||
unsigned long vpi;
|
||||
|
||||
spin_lock_irq(&phba->hbalock);
|
||||
/* Start at bit 1 because vpi zero is reserved for the physical port */
|
||||
|
Fai riferimento in un nuovo problema
Block a user