1 /******************************************************************************
4 * Project: GEnesis, PCI Gigabit Ethernet Adapter
5 * Version: $Revision: 1.4 $
6 * Date: $Date: 1999/11/22 13:51:59 $
7 * Purpose: SK specific Error log support
9 ******************************************************************************/
11 /******************************************************************************
13 * (C)Copyright 1998,1999 SysKonnect,
14 * a business unit of Schneider & Koch & Co. Datensysteme GmbH.
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2 of the License, or
19 * (at your option) any later version.
21 * The information in this file is provided "AS IS" without warranty.
23 ******************************************************************************/
25 /******************************************************************************
29 * Revision 1.4 1999/11/22 13:51:59 cgoos
30 * Changed license header to GPL.
32 * Revision 1.3 1999/09/14 14:04:42 rwahl
33 * Added error base SK_ERRBASE_PECP.
34 * Changed error base for driver.
36 * Revision 1.2 1998/08/11 11:15:41 gklug
39 * Revision 1.1 1998/08/11 11:09:38 gklug
46 ******************************************************************************/
48 #ifndef _INC_SKERROR_H_
49 #define _INC_SKERROR_H_
52 * Define the Error Classes
54 #define SK_ERRCL_OTHER (0) /* Other error */
55 #define SK_ERRCL_CONFIG (1L<<0) /* Configuration error */
56 #define SK_ERRCL_INIT (1L<<1) /* Initialization error */
57 #define SK_ERRCL_NORES (1L<<2) /* Out of resources error */
58 #define SK_ERRCL_SW (1L<<3) /* internal Software error */
59 #define SK_ERRCL_HW (1L<<4) /* Hardware failure */
60 #define SK_ERRCL_COMM (1L<<5) /* Communication error */
64 * Define Error code bases
66 #define SK_ERRBASE_RLMT 100 /* Base Error number for RLMT */
67 #define SK_ERRBASE_HWINIT 200 /* Base Error number for HWInit */
68 #define SK_ERRBASE_VPD 300 /* Base Error number for VPD */
69 #define SK_ERRBASE_PNMI 400 /* Base Error number for PNMI */
70 #define SK_ERRBASE_CSUM 500 /* Base Error number for Checksum */
71 #define SK_ERRBASE_SIRQ 600 /* Base Error number for Special IRQ */
72 #define SK_ERRBASE_I2C 700 /* Base Error number for i2C module */
73 #define SK_ERRBASE_QUEUE 800 /* Base Error number for Scheduler */
74 #define SK_ERRBASE_ADDR 900 /* Base Error number for Address mod. */
75 #define SK_ERRBASE_PECP 1000 /* Base Error number for PECP */
76 #define SK_ERRBASE_DRV 1100 /* Base Error number for Driver */
78 #endif /* _INC_SKERROR_H_ */