diff options
author | James Smart <james.smart@emulex.com> | 2010-02-26 14:15:00 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-03 08:39:36 -0500 |
commit | e2aed29f29d0d289df3b0b627b122832d4dc80fe (patch) | |
tree | 665b0aff11cfa908d7bc46b80e6c6717f94b665e /drivers/scsi/lpfc/lpfc_init.c | |
parent | 0f65ff680f90281d49ee864965f06774eba9657d (diff) |
[SCSI] lpfc 8.3.10: Added management for LP21000 through BSG.
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index b7889c53fe23..88e02a453e0e 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -2597,6 +2597,14 @@ lpfc_create_port(struct lpfc_hba *phba, int instance, struct device *dev) | |||
2597 | init_timer(&vport->els_tmofunc); | 2597 | init_timer(&vport->els_tmofunc); |
2598 | vport->els_tmofunc.function = lpfc_els_timeout; | 2598 | vport->els_tmofunc.function = lpfc_els_timeout; |
2599 | vport->els_tmofunc.data = (unsigned long)vport; | 2599 | vport->els_tmofunc.data = (unsigned long)vport; |
2600 | if (phba->pcidev->device == PCI_DEVICE_ID_HORNET) { | ||
2601 | phba->menlo_flag |= HBA_MENLO_SUPPORT; | ||
2602 | /* check for menlo minimum sg count */ | ||
2603 | if (phba->cfg_sg_seg_cnt < LPFC_DEFAULT_MENLO_SG_SEG_CNT) { | ||
2604 | phba->cfg_sg_seg_cnt = LPFC_DEFAULT_MENLO_SG_SEG_CNT; | ||
2605 | shost->sg_tablesize = phba->cfg_sg_seg_cnt; | ||
2606 | } | ||
2607 | } | ||
2600 | 2608 | ||
2601 | error = scsi_add_host_with_dma(shost, dev, &phba->pcidev->dev); | 2609 | error = scsi_add_host_with_dma(shost, dev, &phba->pcidev->dev); |
2602 | if (error) | 2610 | if (error) |