patch-2.2.14 linux/drivers/net/sk98lin/h/skgedrv.h

Next file: linux/drivers/net/sk98lin/h/skgehw.h
Previous file: linux/drivers/net/sk98lin/h/skerror.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.13/linux/drivers/net/sk98lin/h/skgedrv.h linux/drivers/net/sk98lin/h/skgedrv.h
@@ -0,0 +1,62 @@
+/******************************************************************************
+ *
+ * Name:	skgedrv.h
+ * Project:	GEnesis, PCI Gigabit Ethernet Adapter
+ * Version:	$Revision: 1.3 $
+ * Date:	$Date: 1998/12/01 13:31:39 $
+ * Purpose:	Interface with the driver
+ *
+ ******************************************************************************/
+
+/******************************************************************************
+ *
+ *	(C)Copyright 1998,1999 SysKonnect,
+ *	a business unit of Schneider & Koch & Co. Datensysteme GmbH.
+ *
+ *	This program is free software; you can redistribute it and/or modify
+ *	it under the terms of the GNU General Public License as published by
+ *	the Free Software Foundation; either version 2 of the License, or
+ *	(at your option) any later version.
+ *
+ *	The information in this file is provided "AS IS" without warranty.
+ *
+ ******************************************************************************/
+
+/******************************************************************************
+ *
+ * History:
+ *
+ *	$Log: skgedrv.h,v $
+ *	Revision 1.3  1998/12/01 13:31:39  cgoos
+ *	SWITCH INTERN Event added.
+ *	
+ *	Revision 1.2  1998/11/25 08:28:38  gklug
+ *	rmv: PORT SWITCH Event
+ *	
+ *	Revision 1.1  1998/09/29 06:14:07  gklug
+ *	add: driver events (initial version)
+ *	
+ *
+ ******************************************************************************/
+
+#ifndef __INC_SKGEDRV_H_
+#define __INC_SKGEDRV_H_
+
+/* defines ********************************************************************/
+
+/*
+ * Define the driver events.
+ * Usually the events are defined by the destination module. In case of the
+ * driver we put the definition of the events here.
+ */
+#define SK_DRV_PORT_RESET	1	/* The port needs to be reset */
+#define SK_DRV_NET_UP   	2	/* The net is now operational */
+#define SK_DRV_NET_DOWN		3	/* The net is now down */
+#define	SK_DRV_SWITCH_SOFT	4	/* Ports switch with both links conn */
+#define	SK_DRV_SWITCH_HARD	5	/* Port switch due to link failure */
+#define	SK_DRV_RLMT_SEND	6	/* Send a RLMT packet */
+#define	SK_DRV_ADAP_FAIL	7	/* The whole adapter fails */
+#define	SK_DRV_PORT_FAIL	8	/* One port fails */
+#define	SK_DRV_SWITCH_INTERN	9	/* Port switch from driver to itself */
+
+#endif	/* __INC_SKGEDRV_H_ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)