SOURCES: sk98lin-disable-napi.patch (NEW) - patch disabling NAPI

hawk hawk at pld-linux.org
Thu May 8 01:08:37 CEST 2008


Author: hawk                         Date: Wed May  7 23:08:37 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- patch disabling NAPI

---- Files affected:
SOURCES:
   sk98lin-disable-napi.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/sk98lin-disable-napi.patch
diff -u /dev/null SOURCES/sk98lin-disable-napi.patch:1.1
--- /dev/null	Thu May  8 01:08:37 2008
+++ SOURCES/sk98lin-disable-napi.patch	Thu May  8 01:08:32 2008
@@ -0,0 +1,29 @@
+diff -ur sk98lin-10.50.1.3.orig/h/skdrv2nd.h sk98lin-10.50.1.3/h/skdrv2nd.h
+--- sk98lin-10.50.1.3.orig/h/skdrv2nd.h	2007-10-22 15:56:58.000000000 +0200
++++ sk98lin-10.50.1.3/h/skdrv2nd.h	2008-05-08 01:06:45.000000000 +0200
+@@ -59,22 +59,12 @@
+ #include "h/skgeasfconv.h"
+ #endif
+ 
+-/* Defines for the poll cotroller */
+-#if !defined(SK_NETDUMP_POLL)
+-#define SK_NETDUMP_POLL
++#if defined(SK_POLL_CONTROLLER)
++#undef SK_POLL_CONTROLLER
+ #endif
+-
+-#if defined(SK_NETDUMP_POLL)
+-#if defined(HAVE_POLL_CONTROLLER)
+-#define SK_POLL_CONTROLLER
+-#define CONFIG_SK98LIN_NAPI
+-#elif defined(CONFIG_NET_POLL_CONTROLLER)
+-#define SK_POLL_CONTROLLER
+-#if !defined(CONFIG_SK98LIN_NAPI)
++#if defined(CONFIG_SK98LIN_NAPI)
+ #define CONFIG_SK98LIN_NAPI
+ #endif
+-#endif
+-#endif
+ 
+ /******************************************************************************
+  *
================================================================


More information about the pld-cvs-commit mailing list