Update of /cvsroot/alsa/alsa-driver/ppc
In directory sc8-pr-cvs1:/tmp/cvs-serv16895

Modified Files:
        awacs.patch burgundy.c daca.c keywest.c pmac.inc powermac.c 
Log Message:
2.5 cleanups

Index: awacs.patch
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/ppc/awacs.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- awacs.patch 31 May 2003 11:45:43 -0000      1.1
+++ awacs.patch 31 May 2003 11:58:02 -0000      1.2
@@ -1,11 +1,17 @@
 --- awacs.c    2003-05-31 13:38:32.000000000 +0200
-+++ awacs.c.old        2003-05-31 13:37:30.000000000 +0200
-@@ -1,3 +1,4 @@
++++ awacs.c.old        2003-05-31 13:56:36.000000000 +0200
+@@ -1,3 +1,10 @@
 +#define __NO_VERSION__
++#include <linux/config.h>
++#include <linux/version.h>
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
++#define CONFIG_ADB_CUDA
++#define CONFIG_ADB_PMU
++#endif
  /*
   * PMac AWACS lowlevel functions
   *
-@@ -32,7 +33,7 @@
+@@ -32,7 +39,7 @@
  #define chip_t pmac_t
  
  
@@ -14,7 +20,7 @@
  #define PMAC_AMP_AVAIL
  #endif
  
-@@ -43,7 +44,11 @@
+@@ -43,7 +50,11 @@
        unsigned char amp_tone[2];
  } awacs_amp_t;
  

Index: burgundy.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/ppc/burgundy.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- burgundy.c  12 Aug 2002 08:44:52 -0000      1.2
+++ burgundy.c  31 May 2003 11:58:02 -0000      1.3
@@ -1,2 +1,8 @@
 #define __NO_VERSION__
+#include <linux/config.h>
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
+#define CONFIG_ADB_CUDA
+#define CONFIG_ADB_PMU
+#endif
 #include "../alsa-kernel/ppc/burgundy.c"

Index: daca.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/ppc/daca.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- daca.c      12 Aug 2002 08:44:52 -0000      1.2
+++ daca.c      31 May 2003 11:58:02 -0000      1.3
@@ -1,2 +1,8 @@
 #define __NO_VERSION__
+#include <linux/config.h>
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
+#define CONFIG_ADB_CUDA
+#define CONFIG_ADB_PMU
+#endif
 #include "../alsa-kernel/ppc/daca.c"

Index: keywest.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/ppc/keywest.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- keywest.c   13 May 2003 10:38:38 -0000      1.4
+++ keywest.c   31 May 2003 11:58:02 -0000      1.5
@@ -2,6 +2,11 @@
 #include <linux/config.h>
 #include <linux/version.h>
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
+#define CONFIG_ADB_CUDA
+#define CONFIG_ADB_PMU
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0) /* FIXME: which version exactly? */
 #define i2c_device_name(x)     ((x)->name)
 #define i2c_set_clientdata(x,p)        ((x)->data = (p))

Index: pmac.inc
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/ppc/pmac.inc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pmac.inc    31 May 2003 11:45:43 -0000      1.1
+++ pmac.inc    31 May 2003 11:58:02 -0000      1.2
@@ -1,6 +1,10 @@
 #define __NO_VERSION__
 #include <linux/config.h>
 #include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
+#define CONFIG_ADB_CUDA
+#define CONFIG_ADB_PMU
+#endif
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
 #define PMAC_SUPPORT_PCM_BEEP
 #endif

Index: powermac.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/ppc/powermac.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- powermac.c  3 Apr 2003 10:36:36 -0000       1.3
+++ powermac.c  31 May 2003 11:58:02 -0000      1.4
@@ -1,5 +1,11 @@
 #include <linux/config.h>
 #include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
+#define CONFIG_ADB_CUDA
+#define CONFIG_ADB_PMU
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
 #define PMAC_SUPPORT_PCM_BEEP
 #endif



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to