blob: 72ba9ce1988c347997945dafac0c0fc807739fb0 [file] [log] [blame]
wdenk7152b1d2003-09-05 23:19:14 +00001/******************************************************************************
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
wdenk42d1f032003-10-15 23:53:47 +000032 *
wdenk7152b1d2003-09-05 23:19:14 +000033 * Revision 1.5 2002/04/25 11:05:47 rschmidt
34 * Editorial changes
wdenk42d1f032003-10-15 23:53:47 +000035 *
wdenk7152b1d2003-09-05 23:19:14 +000036 * Revision 1.4 1999/11/22 13:52:46 cgoos
37 * Changed license header to GPL.
wdenk42d1f032003-10-15 23:53:47 +000038 *
wdenk7152b1d2003-09-05 23:19:14 +000039 * Revision 1.3 1998/12/01 13:31:39 cgoos
40 * SWITCH INTERN Event added.
wdenk42d1f032003-10-15 23:53:47 +000041 *
wdenk7152b1d2003-09-05 23:19:14 +000042 * Revision 1.2 1998/11/25 08:28:38 gklug
43 * rmv: PORT SWITCH Event
wdenk42d1f032003-10-15 23:53:47 +000044 *
wdenk7152b1d2003-09-05 23:19:14 +000045 * Revision 1.1 1998/09/29 06:14:07 gklug
46 * add: driver events (initial version)
wdenk42d1f032003-10-15 23:53:47 +000047 *
wdenk7152b1d2003-09-05 23:19:14 +000048 *
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_ */