diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-06-24 23:28:17 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 18:25:44 -0400 |
commit | 3d7fc66dcd8d510aaa46ab9b914b632bc149b05c (patch) | |
tree | 256cf906d79359a90c462b5c1d08dc1969b6b7ed /drivers/scsi/bfa/bfa_modules.h | |
parent | 5a54b1d576d1880eb249e906e0c8e2ffe64506d3 (diff) |
[SCSI] bfa: Added HBA diagnostics support.
- Added diagnostics sub-module to BFA.
- Implemented interface to perform memtest/loopback test
and some other diagnostics tests.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_modules.h')
-rw-r--r-- | drivers/scsi/bfa/bfa_modules.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_modules.h b/drivers/scsi/bfa/bfa_modules.h index f7783f0d3267..c6b2fe7ed960 100644 --- a/drivers/scsi/bfa/bfa_modules.h +++ b/drivers/scsi/bfa/bfa_modules.h | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "bfa_port.h" | 29 | #include "bfa_port.h" |
30 | 30 | ||
31 | struct bfa_modules_s { | 31 | struct bfa_modules_s { |
32 | struct bfa_fcdiag_s fcdiag; /* fcdiag module */ | ||
32 | struct bfa_fcport_s fcport; /* fc port module */ | 33 | struct bfa_fcport_s fcport; /* fc port module */ |
33 | struct bfa_fcxp_mod_s fcxp_mod; /* fcxp module */ | 34 | struct bfa_fcxp_mod_s fcxp_mod; /* fcxp module */ |
34 | struct bfa_lps_mod_s lps_mod; /* fcxp module */ | 35 | struct bfa_lps_mod_s lps_mod; /* fcxp module */ |
@@ -41,6 +42,7 @@ struct bfa_modules_s { | |||
41 | struct bfa_cee_s cee; /* CEE Module */ | 42 | struct bfa_cee_s cee; /* CEE Module */ |
42 | struct bfa_sfp_s sfp; /* SFP module */ | 43 | struct bfa_sfp_s sfp; /* SFP module */ |
43 | struct bfa_flash_s flash; /* flash module */ | 44 | struct bfa_flash_s flash; /* flash module */ |
45 | struct bfa_diag_s diag_mod; /* diagnostics module */ | ||
44 | }; | 46 | }; |
45 | 47 | ||
46 | /* | 48 | /* |
@@ -119,6 +121,7 @@ struct bfa_s { | |||
119 | }; | 121 | }; |
120 | 122 | ||
121 | extern bfa_boolean_t bfa_auto_recover; | 123 | extern bfa_boolean_t bfa_auto_recover; |
124 | extern struct bfa_module_s hal_mod_fcdiag; | ||
122 | extern struct bfa_module_s hal_mod_sgpg; | 125 | extern struct bfa_module_s hal_mod_sgpg; |
123 | extern struct bfa_module_s hal_mod_fcport; | 126 | extern struct bfa_module_s hal_mod_fcport; |
124 | extern struct bfa_module_s hal_mod_fcxp; | 127 | extern struct bfa_module_s hal_mod_fcxp; |