bfa_aen_port.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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_PORT Module */
  18. #ifndef __bfa_aen_port_h__
  19. #define __bfa_aen_port_h__
  20. #include <cs/bfa_log.h>
  21. #include <defs/bfa_defs_aen.h>
  22. #define BFA_AEN_PORT_ONLINE \
  23. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_ONLINE)
  24. #define BFA_AEN_PORT_OFFLINE \
  25. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_OFFLINE)
  26. #define BFA_AEN_PORT_RLIR \
  27. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_RLIR)
  28. #define BFA_AEN_PORT_SFP_INSERT \
  29. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_SFP_INSERT)
  30. #define BFA_AEN_PORT_SFP_REMOVE \
  31. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_SFP_REMOVE)
  32. #define BFA_AEN_PORT_SFP_POM \
  33. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_SFP_POM)
  34. #define BFA_AEN_PORT_ENABLE \
  35. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_ENABLE)
  36. #define BFA_AEN_PORT_DISABLE \
  37. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_DISABLE)
  38. #define BFA_AEN_PORT_AUTH_ON \
  39. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_AUTH_ON)
  40. #define BFA_AEN_PORT_AUTH_OFF \
  41. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_AUTH_OFF)
  42. #define BFA_AEN_PORT_DISCONNECT \
  43. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_DISCONNECT)
  44. #define BFA_AEN_PORT_QOS_NEG \
  45. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_QOS_NEG)
  46. #define BFA_AEN_PORT_FABRIC_NAME_CHANGE \
  47. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_FABRIC_NAME_CHANGE)
  48. #define BFA_AEN_PORT_SFP_ACCESS_ERROR \
  49. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_SFP_ACCESS_ERROR)
  50. #define BFA_AEN_PORT_SFP_UNSUPPORT \
  51. BFA_LOG_CREATE_ID(BFA_AEN_CAT_PORT, BFA_PORT_AEN_SFP_UNSUPPORT)
  52. #endif