diff options
author | James Smart <james.smart@emulex.com> | 2010-03-15 11:25:20 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-04-11 10:23:50 -0400 |
commit | 7a4702774381103e936cae09ec12301090c6c212 (patch) | |
tree | 537fcd43fb911d9841d2d3ba3790b135bc6aa907 /drivers/scsi/lpfc/lpfc_init.c | |
parent | cb5172eafd9ffdab6bb7b1eec628ea706d5817c8 (diff) |
[SCSI] lpfc 8.3.11: Driver management improvements via BSG
- Add BSG support for PCI loopback testing.
- Add BSG support for extended mailbox commands.
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index f8e88bb423cb..feba3be90cb2 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -5059,6 +5059,8 @@ lpfc_sli_pci_mem_setup(struct lpfc_hba *phba) | |||
5059 | 5059 | ||
5060 | memset(phba->slim2p.virt, 0, SLI2_SLIM_SIZE); | 5060 | memset(phba->slim2p.virt, 0, SLI2_SLIM_SIZE); |
5061 | phba->mbox = phba->slim2p.virt + offsetof(struct lpfc_sli2_slim, mbx); | 5061 | phba->mbox = phba->slim2p.virt + offsetof(struct lpfc_sli2_slim, mbx); |
5062 | phba->mbox_ext = (phba->slim2p.virt + | ||
5063 | offsetof(struct lpfc_sli2_slim, mbx_ext_words)); | ||
5062 | phba->pcb = (phba->slim2p.virt + offsetof(struct lpfc_sli2_slim, pcb)); | 5064 | phba->pcb = (phba->slim2p.virt + offsetof(struct lpfc_sli2_slim, pcb)); |
5063 | phba->IOCBs = (phba->slim2p.virt + | 5065 | phba->IOCBs = (phba->slim2p.virt + |
5064 | offsetof(struct lpfc_sli2_slim, IOCBs)); | 5066 | offsetof(struct lpfc_sli2_slim, IOCBs)); |