bfa_aen_lport.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. /* messages define for BFA_AEN_CAT_LPORT Module */
  18. #ifndef __bfa_aen_lport_h__
  19. #define __bfa_aen_lport_h__
  20. #include <cs/bfa_log.h>
  21. #include <defs/bfa_defs_aen.h>
  22. #define BFA_AEN_LPORT_NEW \
  23. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_NEW)
  24. #define BFA_AEN_LPORT_DELETE \
  25. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_DELETE)
  26. #define BFA_AEN_LPORT_ONLINE \
  27. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_ONLINE)
  28. #define BFA_AEN_LPORT_OFFLINE \
  29. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_OFFLINE)
  30. #define BFA_AEN_LPORT_DISCONNECT \
  31. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_DISCONNECT)
  32. #define BFA_AEN_LPORT_NEW_PROP \
  33. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_NEW_PROP)
  34. #define BFA_AEN_LPORT_DELETE_PROP \
  35. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_DELETE_PROP)
  36. #define BFA_AEN_LPORT_NEW_STANDARD \
  37. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_NEW_STANDARD)
  38. #define BFA_AEN_LPORT_DELETE_STANDARD \
  39. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_DELETE_STANDARD)
  40. #define BFA_AEN_LPORT_NPIV_DUP_WWN \
  41. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_NPIV_DUP_WWN)
  42. #define BFA_AEN_LPORT_NPIV_FABRIC_MAX \
  43. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_NPIV_FABRIC_MAX)
  44. #define BFA_AEN_LPORT_NPIV_UNKNOWN \
  45. BFA_LOG_CREATE_ID(BFA_AEN_CAT_LPORT, BFA_LPORT_AEN_NPIV_UNKNOWN)
  46. #endif