[SCSI] bfa: Brocade BFA FC SCSI driver
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / scsi / bfa / fcs_vport.h
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 __FCS_VPORT_H__
19 #define __FCS_VPORT_H__
20
21 #include <fcs/bfa_fcs_lport.h>
22 #include <fcs/bfa_fcs_vport.h>
23 #include <defs/bfa_defs_pci.h>
24
25 /*
26 * Modudle init/cleanup routines.
27 */
28
29 void bfa_fcs_vport_modinit(struct bfa_fcs_s *fcs);
30 void bfa_fcs_vport_modexit(struct bfa_fcs_s *fcs);
31
32 void bfa_fcs_vport_cleanup(struct bfa_fcs_vport_s *vport);
33 void bfa_fcs_vport_online(struct bfa_fcs_vport_s *vport);
34 void bfa_fcs_vport_offline(struct bfa_fcs_vport_s *vport);
35 void bfa_fcs_vport_delete_comp(struct bfa_fcs_vport_s *vport);
36 u32 bfa_fcs_vport_get_max(struct bfa_fcs_s *fcs);
37
38 #endif /* __FCS_VPORT_H__ */
39