aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc.h
diff options
context:
space:
mode:
authorJames Smart <James.Smart@Emulex.Com>2009-07-19 10:01:21 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-08-22 18:51:58 -0400
commit32b9793fe6ff09a85f36b8bd7d6ff214653a7497 (patch)
treee4bfaf3c28982f9e9b2555ba06dc780e7cb70dca /drivers/scsi/lpfc/lpfc.h
parent8568a4d2495ebcf5da38a2141c7633399143b1a5 (diff)
[SCSI] lpfc 8.3.4: Fix a pair of FCoE issues
Fix a pair of FCoE issues - Fix Region 23 FCoE Parameters not being read correctly - Fix race condition when there are FCoE events during FCF table read Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r--drivers/scsi/lpfc/lpfc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h
index 8b69a110a30..d982ac78009 100644
--- a/drivers/scsi/lpfc/lpfc.h
+++ b/drivers/scsi/lpfc/lpfc.h
@@ -526,6 +526,7 @@ struct lpfc_hba {
526#define ELS_XRI_ABORT_EVENT 0x40 526#define ELS_XRI_ABORT_EVENT 0x40
527#define ASYNC_EVENT 0x80 527#define ASYNC_EVENT 0x80
528#define LINK_DISABLED 0x100 /* Link disabled by user */ 528#define LINK_DISABLED 0x100 /* Link disabled by user */
529#define FCF_DISC_INPROGRESS 0x200 /* FCF discovery in progress */
529 struct lpfc_dmabuf slim2p; 530 struct lpfc_dmabuf slim2p;
530 531
531 MAILBOX_t *mbox; 532 MAILBOX_t *mbox;
@@ -767,6 +768,8 @@ struct lpfc_hba {
767/* Maximum number of events that can be outstanding at any time*/ 768/* Maximum number of events that can be outstanding at any time*/
768#define LPFC_MAX_EVT_COUNT 512 769#define LPFC_MAX_EVT_COUNT 512
769 atomic_t fast_event_count; 770 atomic_t fast_event_count;
771 uint32_t fcoe_eventtag;
772 uint32_t fcoe_eventtag_at_fcf_scan;
770 struct lpfc_fcf fcf; 773 struct lpfc_fcf fcf;
771 uint8_t fc_map[3]; 774 uint8_t fc_map[3];
772 uint8_t valid_vlan; 775 uint8_t valid_vlan;