bfad_tm.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. * Brocade Fibre Channel HBA Linux Target Mode Driver
  19. */
  20. /**
  21. * tm/dummy/bfad_tm.h BFA callback dummy header file for BFA Linux target mode PCI interface module.
  22. */
  23. #ifndef __BFAD_TM_H__
  24. #define __BFAD_TM_H__
  25. #include <defs/bfa_defs_status.h>
  26. #define FCPT_NAME ""
  27. /*
  28. * Called from base Linux driver on (De)Init events
  29. */
  30. /* attach tgt template with scst */
  31. #define bfad_tm_module_init() do {} while (0)
  32. /* detach/release tgt template */
  33. #define bfad_tm_module_exit() do {} while (0)
  34. #define bfad_tm_probe(x) do {} while (0)
  35. #define bfad_tm_probe_undo(x) do {} while (0)
  36. #define bfad_tm_probe_post(x) do {} while (0)
  37. /*
  38. * Called by base Linux driver but triggered by BFA FCS on config events
  39. */
  40. #define bfad_tm_port_new(x, y) BFA_STATUS_OK
  41. #define bfad_tm_port_delete(x, y) do {} while (0)
  42. /*
  43. * Called by base Linux driver but triggered by BFA FCS on PLOGI/O events
  44. */
  45. #define bfad_tm_port_online(x, y) do {} while (0)
  46. #define bfad_tm_port_offline(x, y) do {} while (0)
  47. #endif