linux/drivers/scsi/bfa/include/log/bfa_log_hal.h
<<
>>
Prefs
   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/* messages define for HAL Module */
  19#ifndef __BFA_LOG_HAL_H__
  20#define __BFA_LOG_HAL_H__
  21#include  <cs/bfa_log.h>
  22#define BFA_LOG_HAL_ASSERT \
  23        (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 1)
  24#define BFA_LOG_HAL_HEARTBEAT_FAILURE \
  25        (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 2)
  26#define BFA_LOG_HAL_FCPIM_PARM_INVALID \
  27        (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 3)
  28#define BFA_LOG_HAL_SM_ASSERT \
  29        (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 4)
  30#endif
  31