Jing Huang | 7725ccf | 2009-09-23 17:46:15 -0700 | [diff] [blame] | 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) |
Krishna Gudipati | 7af074d | 2010-03-05 19:35:45 -0800 | [diff] [blame^] | 30 | #define BFA_LOG_HAL_DRIVER_ERROR \ |
| 31 | (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 5) |
| 32 | #define BFA_LOG_HAL_DRIVER_CONFIG_ERROR \ |
| 33 | (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 6) |
| 34 | #define BFA_LOG_HAL_MBOX_ERROR \ |
| 35 | (((u32) BFA_LOG_HAL_ID << BFA_LOG_MODID_OFFSET) | 7) |
Jing Huang | 7725ccf | 2009-09-23 17:46:15 -0700 | [diff] [blame] | 36 | #endif |