bfa_aen_ioc.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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_IOC Module */
  18. #ifndef __bfa_aen_ioc_h__
  19. #define __bfa_aen_ioc_h__
  20. #include <cs/bfa_log.h>
  21. #include <defs/bfa_defs_aen.h>
  22. #define BFA_AEN_IOC_HBGOOD \
  23. BFA_LOG_CREATE_ID(BFA_AEN_CAT_IOC, BFA_IOC_AEN_HBGOOD)
  24. #define BFA_AEN_IOC_HBFAIL \
  25. BFA_LOG_CREATE_ID(BFA_AEN_CAT_IOC, BFA_IOC_AEN_HBFAIL)
  26. #define BFA_AEN_IOC_ENABLE \
  27. BFA_LOG_CREATE_ID(BFA_AEN_CAT_IOC, BFA_IOC_AEN_ENABLE)
  28. #define BFA_AEN_IOC_DISABLE \
  29. BFA_LOG_CREATE_ID(BFA_AEN_CAT_IOC, BFA_IOC_AEN_DISABLE)
  30. #define BFA_AEN_IOC_FWMISMATCH \
  31. BFA_LOG_CREATE_ID(BFA_AEN_CAT_IOC, BFA_IOC_AEN_FWMISMATCH)
  32. #define BFA_AEN_IOC_FWCFG_ERROR \
  33. BFA_LOG_CREATE_ID(BFA_AEN_CAT_IOC, BFA_IOC_AEN_FWCFG_ERROR)
  34. #define BFA_AEN_IOC_INVALID_VENDOR \
  35. BFA_LOG_CREATE_ID(BFA_AEN_CAT_IOC, BFA_IOC_AEN_INVALID_VENDOR)
  36. #define BFA_AEN_IOC_INVALID_NWWN \
  37. BFA_LOG_CREATE_ID(BFA_AEN_CAT_IOC, BFA_IOC_AEN_INVALID_NWWN)
  38. #define BFA_AEN_IOC_INVALID_PWWN \
  39. BFA_LOG_CREATE_ID(BFA_AEN_CAT_IOC, BFA_IOC_AEN_INVALID_PWWN)
  40. #endif