1 /******************************************************************************
4 * Project: GEnesis, PCI Gigabit Ethernet Adapter
5 * Version: $Revision: 1.5 $
6 * Date: $Date: 2002/04/25 11:05:10 $
7 * Purpose: SK specific Error log support
9 ******************************************************************************/
11 /******************************************************************************
13 * (C)Copyright 1998-2002 SysKonnect GmbH.
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2 of the License, or
18 * (at your option) any later version.
20 * The information in this file is provided "AS IS" without warranty.
22 ******************************************************************************/
24 /******************************************************************************
28 * Revision 1.5 2002/04/25 11:05:10 rschmidt
31 * Revision 1.4 1999/11/22 13:51:59 cgoos
32 * Changed license header to GPL.
34 * Revision 1.3 1999/09/14 14:04:42 rwahl
35 * Added error base SK_ERRBASE_PECP.
36 * Changed error base for driver.
38 * Revision 1.2 1998/08/11 11:15:41 gklug
41 * Revision 1.1 1998/08/11 11:09:38 gklug
48 ******************************************************************************/
50 #ifndef _INC_SKERROR_H_
51 #define _INC_SKERROR_H_
54 * Define Error Classes
56 #define SK_ERRCL_OTHER (0) /* Other error */
57 #define SK_ERRCL_CONFIG (1L<<0) /* Configuration error */
58 #define SK_ERRCL_INIT (1L<<1) /* Initialization error */
59 #define SK_ERRCL_NORES (1L<<2) /* Out of Resources error */
60 #define SK_ERRCL_SW (1L<<3) /* Internal Software error */
61 #define SK_ERRCL_HW (1L<<4) /* Hardware Failure */
62 #define SK_ERRCL_COMM (1L<<5) /* Communication error */
66 * Define Error Code Bases
68 #define SK_ERRBASE_RLMT 100 /* Base Error number for RLMT */
69 #define SK_ERRBASE_HWINIT 200 /* Base Error number for HWInit */
70 #define SK_ERRBASE_VPD 300 /* Base Error number for VPD */
71 #define SK_ERRBASE_PNMI 400 /* Base Error number for PNMI */
72 #define SK_ERRBASE_CSUM 500 /* Base Error number for Checksum */
73 #define SK_ERRBASE_SIRQ 600 /* Base Error number for Special IRQ */
74 #define SK_ERRBASE_I2C 700 /* Base Error number for I2C module */
75 #define SK_ERRBASE_QUEUE 800 /* Base Error number for Scheduler */
76 #define SK_ERRBASE_ADDR 900 /* Base Error number for Address module */
77 #define SK_ERRBASE_PECP 1000 /* Base Error number for PECP */
78 #define SK_ERRBASE_DRV 1100 /* Base Error number for Driver */
80 #endif /* _INC_SKERROR_H_ */