Update of /cvsroot/alsa/alsa-driver/isa/opti9xx
In directory sc8-pr-cvs1:/tmp/cvs-serv15211/alsa-driver/isa/opti9xx

Modified Files:
        opti92x-ad1848.c opti92x-cs4231.c opti93x.c 
Log Message:
- fixed the detection of opti92x-ad1848 pnp.
- added EXPORT_NO_SYMBOLS.


Index: opti92x-ad1848.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/isa/opti9xx/opti92x-ad1848.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- opti92x-ad1848.c    23 May 2003 11:15:10 -0000      1.5
+++ opti92x-ad1848.c    31 Oct 2003 16:32:18 -0000      1.6
@@ -1,3 +1,15 @@
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
+#define snd_opti9xx_fixup_dma2(pdev) \
+       {struct isapnp_dev *b = (struct isapnp_dev *)pdev;\
+               memset(&b->dma_resource[1].flags, 0, 
sizeof(b->dma_resource[1].flags));}
+#else
+#define snd_opti9xx_fixup_dma2(pdev) \
+       {struct pci_dev *b = (struct pci_dev *)pdev;\
+               memset(&b->dma_resource[1].flags, 0, 
sizeof(b->dma_resource[1].flags));}
+#endif
+
 #include "../../alsa-kernel/isa/opti9xx/opti92x-ad1848.c"
 #ifndef __isapnp_now__
 #include "opti92x-ad1848.isapnp"

Index: opti92x-cs4231.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/isa/opti9xx/opti92x-cs4231.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- opti92x-cs4231.c    9 Apr 2003 15:56:19 -0000       1.2
+++ opti92x-cs4231.c    31 Oct 2003 16:32:18 -0000      1.3
@@ -2,3 +2,4 @@
 #ifndef __isapnp_now__
 #include "opti92x-cs4231.isapnp"
 #endif
+EXPORT_NO_SYMBOLS;

Index: opti93x.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/isa/opti9xx/opti93x.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- opti93x.c   9 Apr 2003 15:56:20 -0000       1.2
+++ opti93x.c   31 Oct 2003 16:32:18 -0000      1.3
@@ -2,3 +2,4 @@
 #ifndef __isapnp_now__
 #include "opti93x.isapnp"
 #endif
+EXPORT_NO_SYMBOLS;



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to