diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-10-29 04:02:15 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-29 04:02:20 -0400 |
commit | 9de09ace8d518141a4375e1d216ab64db4377799 (patch) | |
tree | da8e7a77f4ea91eb3bb73fc6da72ecf8c99e1c16 /drivers/scsi/bfa/fcs_fabric.h | |
parent | 1beee96bae0daf7f491356777c3080cc436950f5 (diff) | |
parent | 6d3f1e12f46a2f9a1bb7e7aa433df8dd31ce5647 (diff) |
Merge branch 'tracing/urgent' into tracing/core
Merge reason: Pick up fixes and move base from -rc1 to -rc5.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/scsi/bfa/fcs_fabric.h')
-rw-r--r-- | drivers/scsi/bfa/fcs_fabric.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/fcs_fabric.h b/drivers/scsi/bfa/fcs_fabric.h new file mode 100644 index 000000000000..eee960820f86 --- /dev/null +++ b/drivers/scsi/bfa/fcs_fabric.h | |||
@@ -0,0 +1,61 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2005-2009 Brocade Communications Systems, Inc. | ||
3 | * All rights reserved | ||
4 | * www.brocade.com | ||
5 | * | ||
6 | * Linux driver for Brocade Fibre Channel Host Bus Adapter. | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License (GPL) Version 2 as | ||
10 | * published by the Free Software Foundation | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, but | ||
13 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
15 | * General Public License for more details. | ||
16 | */ | ||
17 | |||
18 | /** | ||
19 | * fcs_lport.h FCS logical port interfaces | ||
20 | */ | ||
21 | |||
22 | #ifndef __FCS_FABRIC_H__ | ||
23 | #define __FCS_FABRIC_H__ | ||
24 | |||
25 | #include <fcs/bfa_fcs.h> | ||
26 | #include <fcs/bfa_fcs_vport.h> | ||
27 | #include <fcs/bfa_fcs_lport.h> | ||
28 | |||
29 | /* | ||
30 | * fcs friend functions: only between fcs modules | ||
31 | */ | ||
32 | void bfa_fcs_fabric_modinit(struct bfa_fcs_s *fcs); | ||
33 | void bfa_fcs_fabric_modexit(struct bfa_fcs_s *fcs); | ||
34 | void bfa_fcs_fabric_modsusp(struct bfa_fcs_s *fcs); | ||
35 | void bfa_fcs_fabric_link_up(struct bfa_fcs_fabric_s *fabric); | ||
36 | void bfa_fcs_fabric_link_down(struct bfa_fcs_fabric_s *fabric); | ||
37 | void bfa_fcs_fabric_addvport(struct bfa_fcs_fabric_s *fabric, | ||
38 | struct bfa_fcs_vport_s *vport); | ||
39 | void bfa_fcs_fabric_delvport(struct bfa_fcs_fabric_s *fabric, | ||
40 | struct bfa_fcs_vport_s *vport); | ||
41 | int bfa_fcs_fabric_is_online(struct bfa_fcs_fabric_s *fabric); | ||
42 | struct bfa_fcs_vport_s *bfa_fcs_fabric_vport_lookup( | ||
43 | struct bfa_fcs_fabric_s *fabric, wwn_t pwwn); | ||
44 | void bfa_fcs_fabric_modstart(struct bfa_fcs_s *fcs); | ||
45 | void bfa_fcs_fabric_uf_recv(struct bfa_fcs_fabric_s *fabric, | ||
46 | struct fchs_s *fchs, u16 len); | ||
47 | u16 bfa_fcs_fabric_vport_count(struct bfa_fcs_fabric_s *fabric); | ||
48 | bfa_boolean_t bfa_fcs_fabric_is_loopback(struct bfa_fcs_fabric_s *fabric); | ||
49 | enum bfa_pport_type bfa_fcs_fabric_port_type(struct bfa_fcs_fabric_s *fabric); | ||
50 | void bfa_fcs_fabric_psymb_init(struct bfa_fcs_fabric_s *fabric); | ||
51 | void bfa_fcs_fabric_port_delete_comp(struct bfa_fcs_fabric_s *fabric); | ||
52 | |||
53 | bfa_status_t bfa_fcs_fabric_addvf(struct bfa_fcs_fabric_s *vf, | ||
54 | struct bfa_fcs_s *fcs, struct bfa_port_cfg_s *port_cfg, | ||
55 | struct bfad_vf_s *vf_drv); | ||
56 | void bfa_fcs_auth_finished(struct bfa_fcs_fabric_s *fabric, | ||
57 | enum auth_status status); | ||
58 | |||
59 | void bfa_fcs_fabric_set_fabric_name(struct bfa_fcs_fabric_s *fabric, | ||
60 | wwn_t fabric_name); | ||
61 | #endif /* __FCS_FABRIC_H__ */ | ||