]> git.ipfire.org Git - people/ms/u-boot.git/blob - drivers/net/sk98lin/h/skgedrv.h
Merge commit 'wd/master'
[people/ms/u-boot.git] / drivers / net / sk98lin / h / skgedrv.h
1 /******************************************************************************
2 *
3 * Name: skgedrv.h
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
8 *
9 ******************************************************************************/
10
11 /******************************************************************************
12 *
13 * (C)Copyright 1998-2002 SysKonnect GmbH.
14 *
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.
19 *
20 * The information in this file is provided "AS IS" without warranty.
21 *
22 ******************************************************************************/
23
24 /******************************************************************************
25 *
26 * History:
27 *
28 * $Log: skgedrv.h,v $
29 * Revision 1.6 2002/07/15 15:38:01 rschmidt
30 * Power Management support
31 * Editorial changes
32 *
33 * Revision 1.5 2002/04/25 11:05:47 rschmidt
34 * Editorial changes
35 *
36 * Revision 1.4 1999/11/22 13:52:46 cgoos
37 * Changed license header to GPL.
38 *
39 * Revision 1.3 1998/12/01 13:31:39 cgoos
40 * SWITCH INTERN Event added.
41 *
42 * Revision 1.2 1998/11/25 08:28:38 gklug
43 * rmv: PORT SWITCH Event
44 *
45 * Revision 1.1 1998/09/29 06:14:07 gklug
46 * add: driver events (initial version)
47 *
48 *
49 ******************************************************************************/
50
51 #ifndef __INC_SKGEDRV_H_
52 #define __INC_SKGEDRV_H_
53
54 /* defines ********************************************************************/
55
56 /*
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.
60 */
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 */
71
72 #endif /* __INC_SKGEDRV_H_ */