x86/amd-iommu: Add per IOMMU reference counting
[linux/fpc-iii.git] / drivers / scsi / bfa / fcs_vport.h
blob9e80b6a97b7f6c28fcd06a21fc7d7d0901120c49
1 /*
2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
3 * All rights reserved
4 * www.brocade.com
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
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
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.
18 #ifndef __FCS_VPORT_H__
19 #define __FCS_VPORT_H__
21 #include <fcs/bfa_fcs_lport.h>
22 #include <fcs/bfa_fcs_vport.h>
23 #include <defs/bfa_defs_pci.h>
26 * Modudle init/cleanup routines.
29 void bfa_fcs_vport_modinit(struct bfa_fcs_s *fcs);
30 void bfa_fcs_vport_modexit(struct bfa_fcs_s *fcs);
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);
38 #endif /* __FCS_VPORT_H__ */