fcs_vport.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. #ifndef __FCS_VPORT_H__
  18. #define __FCS_VPORT_H__
  19. #include <fcs/bfa_fcs_lport.h>
  20. #include <fcs/bfa_fcs_vport.h>
  21. #include <defs/bfa_defs_pci.h>
  22. /*
  23. * Modudle init/cleanup routines.
  24. */
  25. void bfa_fcs_vport_modinit(struct bfa_fcs_s *fcs);
  26. void bfa_fcs_vport_modexit(struct bfa_fcs_s *fcs);
  27. void bfa_fcs_vport_cleanup(struct bfa_fcs_vport_s *vport);
  28. void bfa_fcs_vport_online(struct bfa_fcs_vport_s *vport);
  29. void bfa_fcs_vport_offline(struct bfa_fcs_vport_s *vport);
  30. void bfa_fcs_vport_delete_comp(struct bfa_fcs_vport_s *vport);
  31. u32 bfa_fcs_vport_get_max(struct bfa_fcs_s *fcs);
  32. #endif /* __FCS_VPORT_H__ */