SOURCES: sk98lin-2.6.24.patch (NEW) - partial fix for kernels >= 2.6.24, al...
hawk
hawk at pld-linux.org
Wed May 7 23:17:31 CEST 2008
Author: hawk Date: Wed May 7 21:17:31 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- partial fix for kernels >= 2.6.24, allows to build driver when NAPI
is disabled
---- Files affected:
SOURCES:
sk98lin-2.6.24.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/sk98lin-2.6.24.patch
diff -u /dev/null SOURCES/sk98lin-2.6.24.patch:1.1
--- /dev/null Wed May 7 23:17:31 2008
+++ SOURCES/sk98lin-2.6.24.patch Wed May 7 23:17:26 2008
@@ -0,0 +1,22 @@
+diff -ur sk98lin-10.50.1.3.orig/skge.c sk98lin-10.50.1.3/skge.c
+--- sk98lin-10.50.1.3.orig/skge.c 2007-10-22 15:56:58.000000000 +0200
++++ sk98lin-10.50.1.3/skge.c 2008-05-07 22:58:52.000000000 +0200
+@@ -89,6 +89,10 @@
+
+ #define ENABLE_FUTURE_ETH
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
++#define proc_net init_net.proc_net
++#endif
++
+ /*******************************************************************************
+ *
+ * Defines
+@@ -431,7 +435,6 @@
+ return -ENODEV;
+ }
+
+- SET_MODULE_OWNER(dev);
+ #ifdef ENABLE_FUTURE_ETH
+ SET_ETHTOOL_OPS(dev, &sk98lin_ethtool_ops);
+ #endif
================================================================
More information about the pld-cvs-commit
mailing list