Update of /cvsroot/alsa/alsa-driver/include
In directory sc8-pr-cvs1:/tmp/cvs-serv6528/include
Modified Files:
adriver.h config.h.in
Log Message:
- added a check and a wrapper of pci_set_consistent_dma_mask() for
older kernels.
Index: adriver.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- adriver.h 10 Nov 2003 17:32:38 -0000 1.62
+++ adriver.h 20 Nov 2003 13:23:27 -0000 1.63
@@ -411,6 +411,10 @@
#define MODULE_ALIAS_CHARDEV_MAJOR(x)
#endif
+#ifndef CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK
+#define pci_set_consistent_dma_mask(p,x) pci_set_dma_mask(p,x)
+#endif
+
#include "amagic.h"
#endif /* __SOUND_LOCAL_DRIVER_H */
Index: config.h.in
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/config.h.in,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- config.h.in 10 Nov 2003 17:32:38 -0000 1.24
+++ config.h.in 20 Nov 2003 13:23:27 -0000 1.25
@@ -39,3 +39,7 @@
#undef CONFIG_OLD_KILL_FASYNC
#undef CONFIG_HAVE_DMA_ADDR_T
#undef CONFIG_HAVE_MUTEX_MACROS
+
+/* 2.4/2.6 kernels */
+#undef CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK
+
-------------------------------------------------------
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