SOURCES: madwifi-ng-2.6.20.patch - version 4 of the patch by thoma...

mguevara mguevara at pld-linux.org
Wed Jan 10 23:31:37 CET 2007


Author: mguevara                     Date: Wed Jan 10 22:31:36 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- version 4 of the patch by thomas at m3y3r.de - should work with both the 
  default linux 2.6.20 regparm=3 behaviour and the old one (not yet tested 
  btw) 

---- Files affected:
SOURCES:
   madwifi-ng-2.6.20.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/madwifi-ng-2.6.20.patch
diff -u SOURCES/madwifi-ng-2.6.20.patch:1.2 SOURCES/madwifi-ng-2.6.20.patch:1.3
--- SOURCES/madwifi-ng-2.6.20.patch:1.2	Wed Jan 10 10:43:54 2007
+++ SOURCES/madwifi-ng-2.6.20.patch	Wed Jan 10 23:31:31 2007
@@ -1,7 +1,20 @@
+Index: ath_hal/ah_osdep.h
+===================================================================
+--- ath_hal/ah_osdep.h	(Revision 1888)
++++ ath_hal/ah_osdep.h	(Arbeitskopie)
+@@ -45,7 +45,7 @@
+  * on the stack as this is the convention used internally (for
+  * maximum portability).
+  */
+-#ifdef CONFIG_REGPARM
++#if defined (CONFIG_REGPARM) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20))
+ #define	__ahdecl	__attribute__((regparm(0)))
+ #else
+ #define	__ahdecl
 Index: ath/if_athvar.h
 ===================================================================
---- ath/if_athvar.h	(revision 1888)
-+++ ath/if_athvar.h	(working copy)
+--- ath/if_athvar.h	(Revision 1888)
++++ ath/if_athvar.h	(Arbeitskopie)
 @@ -80,14 +80,26 @@
  	(t)->data=(void *) (d); 		\
  } while (0)
@@ -37,8 +50,8 @@
  /*
 Index: ath/if_ath.c
 ===================================================================
---- ath/if_ath.c	(revision 1888)
-+++ ath/if_ath.c	(working copy)
+--- ath/if_ath.c	(Revision 1888)
++++ ath/if_ath.c	(Arbeitskopie)
 @@ -118,7 +118,7 @@
  static void ath_rxorn_tasklet(TQUEUE_ARG);
  static void ath_bmiss_tasklet(TQUEUE_ARG);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/madwifi-ng-2.6.20.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list