patch-2.4.23 linux-2.4.23/drivers/net/sk98lin/skqueue.c
Next file: linux-2.4.23/drivers/net/sk98lin/skrlmt.c
Previous file: linux-2.4.23/drivers/net/sk98lin/skproc.c
Back to the patch index
Back to the overall index
- Lines: 66
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/net/sk98lin/skqueue.c
- Orig date:
2003-06-13 07:51:35.000000000 -0700
diff -urN linux-2.4.22/drivers/net/sk98lin/skqueue.c linux-2.4.23/drivers/net/sk98lin/skqueue.c
@@ -1,17 +1,17 @@
/******************************************************************************
*
* Name: skqueue.c
- * Project: GEnesis, PCI Gigabit Ethernet Adapter
- * Version: $Revision: 1.18 $
- * Date: $Date: 2002/05/07 14:11:11 $
+ * Project: Gigabit Ethernet Adapters, Schedule-Modul
+ * Version: $Revision: 1.19 $
+ * Date: $Date: 2003/05/13 18:00:07 $
* Purpose: Management of an event queue.
*
******************************************************************************/
/******************************************************************************
*
- * (C)Copyright 1998,1999 SysKonnect,
- * a business unit of Schneider & Koch & Co. Datensysteme GmbH.
+ * (C)Copyright 1998-2002 SysKonnect GmbH.
+ * (C)Copyright 2002-2003 Marvell.
*
* 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
@@ -27,6 +27,10 @@
* History:
*
* $Log: skqueue.c,v $
+ * Revision 1.19 2003/05/13 18:00:07 mkarl
+ * Removed calls to RLMT, TWSI, and PNMI for SLIM driver (SK_SLIM).
+ * Editorial changes.
+ *
* Revision 1.18 2002/05/07 14:11:11 rwahl
* Fixed Watcom Precompiler error.
*
@@ -90,8 +94,10 @@
/*
Event queue and dispatcher
*/
+#if (defined(DEBUG) || ((!defined(LINT)) && (!defined(SK_SLIM))))
static const char SysKonnectFileId[] =
- "$Header: /usr56/projects/ge/schedule/skqueue.c,v 1.18 2002/05/07 14:11:11 rwahl Exp $" ;
+ "$Header: /usr56/projects/ge/schedule/skqueue.c,v 1.19 2003/05/13 18:00:07 mkarl Exp $" ;
+#endif
#include "h/skdrv1st.h" /* Driver Specific Definitions */
#include "h/skqueue.h" /* Queue Definitions */
@@ -171,7 +177,8 @@
while (pEv != pAC->Event.EvPut) {
PRINTF("dispatch Class %d Event %d\n",pEv->Class,pEv->Event) ;
switch(Class = pEv->Class) {
-#ifndef SK_USE_LAC_EV
+#ifndef SK_USE_LAC_EV
+#ifndef SK_SLIM
case SKGE_RLMT : /* RLMT Event */
Rtv = SkRlmtEvent(pAC,Ioc,pEv->Event,pEv->Para);
break ;
@@ -181,7 +188,8 @@
case SKGE_PNMI :
Rtv = SkPnmiEvent(pAC,Ioc,pEv->Event,pEv->Para);
break ;
-#endif /* SK_USE_LAC_EV */
+#endif /* not SK_SLIM */
+#endif /* not SK_USE_LAC_EV */
case SKGE_DRV : /* Driver Event */
Rtv = SkDrvEvent(pAC,Ioc,pEv->Event,pEv->Para);
break ;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)