bfa_log_hal.h 1.1 KB

123456789101112131415161718192021222324252627282930
  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 HAL Module */
  18. #ifndef __BFA_LOG_HAL_H__
  19. #define __BFA_LOG_HAL_H__
  20. #include <cs/bfa_log.h>
  21. #define BFA_LOG_HAL_ASSERT \
  22. (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 1)
  23. #define BFA_LOG_HAL_HEARTBEAT_FAILURE \
  24. (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 2)
  25. #define BFA_LOG_HAL_FCPIM_PARM_INVALID \
  26. (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 3)
  27. #define BFA_LOG_HAL_SM_ASSERT \
  28. (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 4)
  29. #endif