Update of /cvsroot/alsa/alsa-driver/isa
In directory sc8-pr-cvs1:/tmp/cvs-serv31491/isa
Modified Files:
sscape.c
Log Message:
more unified DMA allocation:
- split memory allocator to snd-page-alloc.
- move pci-compat layer for 2.2 kernels to snd-page-alloc.
- use size_t for the size type.
- keep snd-page-alloc module loaded at stop operation of alsasound
init script.
Index: sscape.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/isa/sscape.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sscape.c 8 Jan 2003 10:54:23 -0000 1.12
+++ sscape.c 28 Feb 2003 14:32:12 -0000 1.13
@@ -180,7 +180,7 @@
struct dmabuf {
- unsigned long size;
+ size_t size;
unsigned char *data;
dma_addr_t addr;
};
@@ -463,8 +463,8 @@
* Upload a byte-stream into the SoundScape using DMA channel A.
*/
static int upload_dma_data(struct soundscape *s,
- const unsigned char *data, unsigned long size,
- unsigned long dmasize)
+ const unsigned char *data, size_t size,
+ size_t dmasize)
{
unsigned long flags;
struct dmabuf dma;
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog