From 989a3c578011cad60fc167cdb1b9a0e603f43072 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 28 Apr 2006 19:06:59 +0000 Subject: * add initial support for gumstix (xscale pxa255) platform (gumstix.com) * add GMUstix distro for gumstix (GMU = George Mason University) * add linux-gumstix-2.6.15 with gumstix patchset * close bug #861 --- .../linux-gumstix-2.6.15/bugfix-pxa-audio.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages/linux/linux-gumstix-2.6.15/bugfix-pxa-audio.patch (limited to 'packages/linux/linux-gumstix-2.6.15/bugfix-pxa-audio.patch') diff --git a/packages/linux/linux-gumstix-2.6.15/bugfix-pxa-audio.patch b/packages/linux/linux-gumstix-2.6.15/bugfix-pxa-audio.patch new file mode 100644 index 0000000000..a8d04f0e20 --- /dev/null +++ b/packages/linux/linux-gumstix-2.6.15/bugfix-pxa-audio.patch @@ -0,0 +1,25 @@ +Index: linux-2.6.15gum/sound/oss/pxa-audio.c +=================================================================== +--- linux-2.6.15gum.orig/sound/oss/pxa-audio.c ++++ linux-2.6.15gum/sound/oss/pxa-audio.c +@@ -731,7 +731,7 @@ static int audio_mmap(struct file *file, + audio_buf_t *buf = &s->buffers[i]; + if (!buf->master) + continue; +- ret = remap_page_range(vma, vma->vm_start, buf->dma_desc->dsadr, ++ ret = io_remap_page_range(vma, vma_addr, buf->dma_desc->dsadr, + buf->master, vma->vm_page_prot); + if (ret) + return ret; +Index: linux-2.6.15gum/sound/oss/pxa-audio.h +=================================================================== +--- linux-2.6.15gum.orig/sound/oss/pxa-audio.h ++++ linux-2.6.15gum/sound/oss/pxa-audio.h +@@ -52,3 +52,7 @@ typedef struct { + extern int pxa_audio_attach(struct inode *inode, struct file *file, + audio_state_t *state); + extern void pxa_audio_clear_buf(audio_stream_t *s); ++ ++#define DCMD_TXPCDR (DCMD_INCSRCADDR|DCMD_FLOWSRC|DCMD_BURST32|DCMD_WIDTH4) ++#define DCMD_RXMCDR (DCMD_INCTRGADDR|DCMD_FLOWSRC|DCMD_BURST32|DCMD_WIDTH4) ++#define DCMD_RXPCDR (DCMD_INCTRGADDR|DCMD_FLOWSRC|DCMD_BURST32|DCMD_WIDTH4) -- cgit v1.2.3