diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2012-03-13 20:39:36 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-03-28 04:55:22 -0400 |
commit | db9d8a75afd9dbd32c80d12d6033eca3336ef4f2 (patch) | |
tree | e13c0bc9be09b70028a3672f2c666e7dfd7ff8d3 /drivers/scsi/bfa/bfa_ioc.h | |
parent | a6b963db0de3c9aa22db2f872e38c2a12edf09a7 (diff) |
[SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation.
Made changes to the Fabric Assigned Address(FAA) feature implementation.
Introduced the IOCFC state machine, which now handles the FAA logic,
IOC and BFA sub-modules enablement.
Removed un-wanted FAA enable/disable routines; FAA is enabled by default.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_ioc.h')
-rw-r--r-- | drivers/scsi/bfa/bfa_ioc.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfa_ioc.h b/drivers/scsi/bfa/bfa_ioc.h index 546d46b37101..1a99d4b5b50f 100644 --- a/drivers/scsi/bfa/bfa_ioc.h +++ b/drivers/scsi/bfa/bfa_ioc.h | |||
@@ -373,6 +373,22 @@ struct bfa_cb_qe_s { | |||
373 | }; | 373 | }; |
374 | 374 | ||
375 | /* | 375 | /* |
376 | * IOCFC state machine definitions/declarations | ||
377 | */ | ||
378 | enum iocfc_event { | ||
379 | IOCFC_E_INIT = 1, /* IOCFC init request */ | ||
380 | IOCFC_E_START = 2, /* IOCFC mod start request */ | ||
381 | IOCFC_E_STOP = 3, /* IOCFC stop request */ | ||
382 | IOCFC_E_ENABLE = 4, /* IOCFC enable request */ | ||
383 | IOCFC_E_DISABLE = 5, /* IOCFC disable request */ | ||
384 | IOCFC_E_IOC_ENABLED = 6, /* IOC enabled message */ | ||
385 | IOCFC_E_IOC_DISABLED = 7, /* IOC disabled message */ | ||
386 | IOCFC_E_IOC_FAILED = 8, /* failure notice by IOC sm */ | ||
387 | IOCFC_E_DCONF_DONE = 9, /* dconf read/write done */ | ||
388 | IOCFC_E_CFG_DONE = 10, /* IOCFC config complete */ | ||
389 | }; | ||
390 | |||
391 | /* | ||
376 | * ASIC block configurtion related | 392 | * ASIC block configurtion related |
377 | */ | 393 | */ |
378 | 394 | ||
@@ -706,7 +722,6 @@ struct bfa_dconf_s { | |||
706 | struct bfa_dconf_mod_s { | 722 | struct bfa_dconf_mod_s { |
707 | bfa_sm_t sm; | 723 | bfa_sm_t sm; |
708 | u8 instance; | 724 | u8 instance; |
709 | bfa_boolean_t flashdone; | ||
710 | bfa_boolean_t read_data_valid; | 725 | bfa_boolean_t read_data_valid; |
711 | bfa_boolean_t min_cfg; | 726 | bfa_boolean_t min_cfg; |
712 | struct bfa_timer_s timer; | 727 | struct bfa_timer_s timer; |