diff options
author | James.Smart@Emulex.Com <James.Smart@Emulex.Com> | 2005-10-28 20:29:28 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-29 11:19:52 -0400 |
commit | f91b392c4d20fcd2684587c0a091123c0409959c (patch) | |
tree | d6ffb11b617930a5c518367c5d3dea84d560a406 /drivers/scsi/lpfc/lpfc_init.c | |
parent | 09703d38d47d2b4ff769269ffe01c9aa340e3c8b (diff) |
[SCSI] lpfc: Fix for "Unknown IOCB command Data: x0 x3 x0 x0"
Fix for "Unknown IOCB command Data: x0 x3 x0 x0" messages and
inability to see devices
On some platforms, the host-memory based ring mgmt area was not
zero. Also, driver wasn't manipulating the entire 32bits of the ring
pointers.
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index ba4573912c02..e591611f98e2 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -1429,6 +1429,7 @@ lpfc_pci_probe_one(struct pci_dev *pdev, const struct pci_device_id *pid) | |||
1429 | if (!phba->slim2p) | 1429 | if (!phba->slim2p) |
1430 | goto out_iounmap; | 1430 | goto out_iounmap; |
1431 | 1431 | ||
1432 | memset(phba->slim2p, 0, SLI2_SLIM_SIZE); | ||
1432 | 1433 | ||
1433 | /* Initialize the SLI Layer to run with lpfc HBAs. */ | 1434 | /* Initialize the SLI Layer to run with lpfc HBAs. */ |
1434 | lpfc_sli_setup(phba); | 1435 | lpfc_sli_setup(phba); |