]> git.hungrycats.org Git - linux/commit
[PATCH] sparc ALSA fix
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Sep 2004 03:20:46 +0000 (20:20 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 3 Sep 2004 03:20:46 +0000 (20:20 -0700)
commit3e9e3e717f87884ad3dfb1462443d2792c2e70bf
tree7c0f621760895718e3280ec0e35072e7e69d6033
parent49f46c6fe08e3c9267670cb133afeb4447fb8b5c
[PATCH] sparc ALSA fix

sound/core/pcm_native.c was assuming that all architectures implement
io_remap_page_range() in the same way.  They don't, so the sparc64 build
broke.

mmap callback is added to PCM ops.  The driver can implement its own mmap
method.

Also, mmapping of the status and control records is available only on known
coherent architectures now.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/sound/asound.h
include/sound/pcm.h
sound/core/pcm.c
sound/core/pcm_native.c
sound/pci/nm256/nm256.c
sound/pci/rme32.c
sound/pci/rme96.c