eri_common.h revision d64540e3871ce3f4a0b18d4f601913a0dfb84e4f
2521N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2521N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2521N/A#ifndef _SYS_ERI_COMMON_H
2521N/A#define _SYS_ERI_COMMON_H
2521N/A#ifdef __cplusplus
2892N/A ERI_NO_MSG = 0,
2521N/Astatic char *fault_msg_string[] = {
2521N/A#define SEVERITY_UNKNOWN 0
2521N/A#define SEVERITY_NONE 0
2521N/A#define SEVERITY_LOW 0
#define ERI_FAULT_MSG1(p, t, f, a) \
eri_fault_msg((p), (t), (f), (a));
#define ERI_FAULT_MSG2(p, t, f, a, b) \
eri_fault_msg((p), (t), (f), (a), (b));
#define ERI_FAULT_MSG3(p, t, f, a, b, c) \
eri_fault_msg((p), (t), (f), (a), (b), (c));
#define ERI_FAULT_MSG4(p, t, f, a, b, c, d) \
eri_fault_msg((p), (t), (f), (a), (b), (c), (d));
#ifdef DEBUG
NO_MSG = 0,
} debug_msg_t;
static char *debug_msg_string[] = {
#define ERI_DEBUG_MSG1(t, f, a) \
#define ERI_DEBUG_MSG2(t, f, a, b) \
#define ERI_DEBUG_MSG3(t, f, a, b, c) \
#define ERI_DEBUG_MSG4(t, f, a, b, c, d) \
#define ERI_DEBUG_MSG5(t, f, a, b, c, d, e) \
#define ERI_DEBUG_MSG1(t, f, a)
#define ERI_DEBUG_MSG2(t, f, a, b)
#define ERI_DEBUG_MSG3(t, f, a, b, c)
#define ERI_DEBUG_MSG4(t, f, a, b, c, d)
#define ERI_DEBUG_MSG5(t, f, a, b, c, d, e)
#define ERI_DEBUG_MSG6(t, f, a, b, c, d, e, g, h)
#define ERI_HWCSUM
#ifdef ERI_ERI_REV_1_0
#define RCV_OVRFLOW_CORRUPTION_BUG
#define ERI_HDX_BUG_WORKAROUND
#define ERI_TX_HUNG
#define ERI_10_10_FORCE_SPEED_WORKAROUND
#define ERI_MIF_POLL_STATUS_WORKAROUND
#define ERI_STRETCH_RCV_BUFFER
#ifdef ERI_STRETCH_RCV_BUFFER
#ifdef notdef
#define ERI_DONT_STRIP_CRC
#ifdef ERI_HWCSUM
#define ERI_RCV_CKSUM
#ifdef notdef
#define ERI_SERVICE_ROUTINE
(size), \
(who))
#ifdef __cplusplus