1 /******************************************************************************
4 * Project: GEnesis, PCI Gigabit Ethernet Adapter
5 * Version: $Revision: 1.6 $
6 * Date: $Date: 2002/07/15 15:38:01 $
7 * Purpose: Interface with the driver
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 /******************************************************************************
29 * Revision 1.6 2002/07/15 15:38:01 rschmidt
30 * Power Management support
33 * Revision 1.5 2002/04/25 11:05:47 rschmidt
36 * Revision 1.4 1999/11/22 13:52:46 cgoos
37 * Changed license header to GPL.
39 * Revision 1.3 1998/12/01 13:31:39 cgoos
40 * SWITCH INTERN Event added.
42 * Revision 1.2 1998/11/25 08:28:38 gklug
43 * rmv: PORT SWITCH Event
45 * Revision 1.1 1998/09/29 06:14:07 gklug
46 * add: driver events (initial version)
49 ******************************************************************************/
51 #ifndef __INC_SKGEDRV_H_
52 #define __INC_SKGEDRV_H_
54 /* defines ********************************************************************/
57 * Define the driver events.
58 * Usually the events are defined by the destination module.
59 * In case of the driver we put the definition of the events here.
61 #define SK_DRV_PORT_RESET 1 /* The port needs to be reset */
62 #define SK_DRV_NET_UP 2 /* The net is operational */
63 #define SK_DRV_NET_DOWN 3 /* The net is down */
64 #define SK_DRV_SWITCH_SOFT 4 /* Ports switch with both links connected */
65 #define SK_DRV_SWITCH_HARD 5 /* Port switch due to link failure */
66 #define SK_DRV_RLMT_SEND 6 /* Send a RLMT packet */
67 #define SK_DRV_ADAP_FAIL 7 /* The whole adapter fails */
68 #define SK_DRV_PORT_FAIL 8 /* One port fails */
69 #define SK_DRV_SWITCH_INTERN 9 /* Port switch by the driver itself */
70 #define SK_DRV_POWER_DOWN 10 /* Power down mode */
72 #endif /* __INC_SKGEDRV_H_ */