diff options
author | Jamie Wellnitz <Jamie.Wellnitz@emulex.com> | 2006-02-28 19:25:15 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-02-28 19:52:50 -0500 |
commit | 7bb3b137abf2b7073e683c14cfe062d811d35247 (patch) | |
tree | 3293962805fc790ef90fd5aa28171cb419dd82c4 /drivers/scsi/lpfc/lpfc_mbox.c | |
parent | 0228aadd0fb1d8ca90efbe74291f3b5b753c2da2 (diff) |
[SCSI] lpfc 8.1.2: Handling of ELS commands RRQ, RPS, RPL and LIRR correctly
Handling of ELS commands RRQ, RPS, RPL and LIRR correctly
Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_mbox.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_mbox.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_mbox.c b/drivers/scsi/lpfc/lpfc_mbox.c index e3bc8d3f7302..6c4b21a32c7f 100644 --- a/drivers/scsi/lpfc/lpfc_mbox.c +++ b/drivers/scsi/lpfc/lpfc_mbox.c | |||
@@ -336,6 +336,23 @@ lpfc_read_config(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) | |||
336 | return; | 336 | return; |
337 | } | 337 | } |
338 | 338 | ||
339 | /*************************************************/ | ||
340 | /* lpfc_read_lnk_stat Issue a READ LINK STATUS */ | ||
341 | /* mailbox command */ | ||
342 | /*************************************************/ | ||
343 | void | ||
344 | lpfc_read_lnk_stat(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) | ||
345 | { | ||
346 | MAILBOX_t *mb; | ||
347 | |||
348 | mb = &pmb->mb; | ||
349 | memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); | ||
350 | |||
351 | mb->mbxCommand = MBX_READ_LNK_STAT; | ||
352 | mb->mbxOwner = OWN_HOST; | ||
353 | return; | ||
354 | } | ||
355 | |||
339 | /********************************************/ | 356 | /********************************************/ |
340 | /* lpfc_reg_login Issue a REG_LOGIN */ | 357 | /* lpfc_reg_login Issue a REG_LOGIN */ |
341 | /* mailbox command */ | 358 | /* mailbox command */ |