]>
Commit | Line | Data |
---|---|---|
7725ccfd JH |
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 | #ifndef __VP_PRIV_H__ | |
19 | #define __VP_PRIV_H__ | |
20 | ||
21 | #include <fcs/bfa_fcs_lport.h> | |
22 | #include <fcs/bfa_fcs_vport.h> | |
23 | ||
24 | /* | |
25 | * Functions exported by vps | |
26 | */ | |
27 | void bfa_fcs_vport_init(struct bfa_fcs_vport_s *vport); | |
28 | ||
29 | /* | |
30 | * Functions exported by vps | |
31 | */ | |
32 | void bfa_fcs_vps_online(struct bfa_fcs_port_s *port); | |
33 | void bfa_fcs_vps_offline(struct bfa_fcs_port_s *port); | |
34 | void bfa_fcs_vps_lip(struct bfa_fcs_port_s *port); | |
35 | ||
36 | /* | |
37 | * Functions exported by port_fab | |
38 | */ | |
39 | void bfa_fcs_port_fab_init(struct bfa_fcs_port_s *vport); | |
40 | void bfa_fcs_port_fab_online(struct bfa_fcs_port_s *vport); | |
41 | void bfa_fcs_port_fab_offline(struct bfa_fcs_port_s *vport); | |
42 | void bfa_fcs_port_fab_rx_frame(struct bfa_fcs_port_s *port, | |
43 | u8 *rx_frame, u32 len); | |
44 | ||
45 | /* | |
46 | * Functions exported by VP-NS. | |
47 | */ | |
48 | void bfa_fcs_port_ns_init(struct bfa_fcs_port_s *vport); | |
49 | void bfa_fcs_port_ns_offline(struct bfa_fcs_port_s *vport); | |
50 | void bfa_fcs_port_ns_online(struct bfa_fcs_port_s *vport); | |
51 | void bfa_fcs_port_ns_query(struct bfa_fcs_port_s *port); | |
52 | ||
53 | /* | |
54 | * Functions exported by VP-SCN | |
55 | */ | |
56 | void bfa_fcs_port_scn_init(struct bfa_fcs_port_s *vport); | |
57 | void bfa_fcs_port_scn_offline(struct bfa_fcs_port_s *vport); | |
58 | void bfa_fcs_port_scn_online(struct bfa_fcs_port_s *vport); | |
59 | void bfa_fcs_port_scn_process_rscn(struct bfa_fcs_port_s *port, | |
60 | struct fchs_s *rx_frame, u32 len); | |
61 | ||
62 | /* | |
63 | * Functions exported by VP-N2N | |
64 | */ | |
65 | ||
66 | void bfa_fcs_port_n2n_init(struct bfa_fcs_port_s *port); | |
67 | void bfa_fcs_port_n2n_online(struct bfa_fcs_port_s *port); | |
68 | void bfa_fcs_port_n2n_offline(struct bfa_fcs_port_s *port); | |
69 | void bfa_fcs_port_n2n_rx_frame(struct bfa_fcs_port_s *port, | |
70 | u8 *rx_frame, u32 len); | |
71 | ||
72 | /* | |
73 | * Functions exported by VP-LOOP | |
74 | */ | |
75 | void bfa_fcs_port_loop_init(struct bfa_fcs_port_s *port); | |
76 | void bfa_fcs_port_loop_online(struct bfa_fcs_port_s *port); | |
77 | void bfa_fcs_port_loop_offline(struct bfa_fcs_port_s *port); | |
78 | void bfa_fcs_port_loop_lip(struct bfa_fcs_port_s *port); | |
79 | void bfa_fcs_port_loop_rx_frame(struct bfa_fcs_port_s *port, | |
80 | u8 *rx_frame, u32 len); | |
81 | ||
82 | #endif /* __VP_PRIV_H__ */ |