diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index 3f64c4b81b0c..6127635e6275 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h | |||
@@ -528,10 +528,11 @@ struct lpfc_hba { | |||
528 | struct fc_host_statistics link_stats; | 528 | struct fc_host_statistics link_stats; |
529 | 529 | ||
530 | struct list_head port_list; | 530 | struct list_head port_list; |
531 | struct lpfc_vport *pport; /* physical lpfc_vport pointer */ | 531 | struct lpfc_vport *pport; /* physical lpfc_vport pointer */ |
532 | uint16_t max_vpi; /* Maximum virtual nports */ | 532 | uint16_t max_vpi; /* Maximum virtual nports */ |
533 | #define LPFC_MAX_VPI 100 /* Max number of VPorts supported */ | 533 | #define LPFC_MAX_VPI 100 /* Max number of VPI supported */ |
534 | unsigned long *vpi_bmask; /* vpi allocation table */ | 534 | #define LPFC_MAX_VPORTS (LPFC_MAX_VPI+1)/* Max number of VPorts supported */ |
535 | unsigned long *vpi_bmask; /* vpi allocation table */ | ||
535 | 536 | ||
536 | /* Data structure used by fabric iocb scheduler */ | 537 | /* Data structure used by fabric iocb scheduler */ |
537 | struct list_head fabric_iocb_list; | 538 | struct list_head fabric_iocb_list; |